amimof / huego

An extensive Philips Hue client library for Go with an emphasis on simplicity
MIT License
250 stars 36 forks source link

Feature Request: Utility methods: Convert HEX Color to xy and back #37

Closed willie68 closed 3 years ago

willie68 commented 3 years ago

Hi, on some other SDKs (mainly directly from philips/Signify) there are some utility methods to convert RGB colors into XY. It would be nice, if you can add this to your lib. Some background informations: https://developers.meethue.com/develop/application-design-guidance/color-conversion-formulas-rgb-to-xy-and-back/

willie68 commented 3 years ago

And another question: Why is huego looking so bored? :-)

amimof commented 3 years ago

@willie68 Makes sense, thanks for the input. He's bored because there are no light switches to press :)

amimof commented 3 years ago

Fixed in #39