Fix - Philips Hue RGB Brightness Color Conversion (#799)
Fix - Philips Hue RGB Brightness Color Conversion (#799)

RGB to HSV/B Conversion after gamma correction

* Update LedDevicePhilipsHue.cpp

Hue RGB Color Conversion for Brightness is wrong! - use RGB to HSV instead of XYZ Space!
For correct use, reset brightnessFactor (if set) back to 1.0 in config! - It was just a Workaround, not the Solution!

* Update LedDevicePhilipsHue.cpp

sorry - wrong RGB vars used

* Update LedDevicePhilipsHue.cpp

change max value function to fmax

* RGB to HSV/B Conversion after gamma correction

hyperion-project/hyperion,hyperion-project/hyperion,hyperion-project/hyperion,hyperion-project/hyperion,hyperion-project/hyperion,hyperion-project/hyperion