API: Color values
-
Hi!
Python documentation for get_button_info(self, bd_addr, callback): states:
The server will send back its information directly and the callback will be called once the response arrives. Responses will arrive in the same order as requested. The callback takes three parameters: bd_addr, uuid (hex string of 32 characters), color (string and None if unknown).
What are the possible values for color ? are they "official" colors name, such as HTML color names?
-
Yes, yellow is also valid. See the documentation at https://github.com/50ButtonsEach/fliclib-linux-hci/blob/master/ProtocolDocumentation.md#evtgetbuttoninforesponse.
-
Is there some developers from Flic in there ?
I had to buy more buttons to find out, here is the answer- White button : "white"
- Black button: "black"
- Green button: "green"
- Mint turquoise button: "turquoise"
- Glow in the dark button: "gitd"
I suspect there are also Pale Yellow "yellow" buttons in the wild.