diff --git a/homeassistant/util/color.py b/homeassistant/util/color.py index ebd3b175905..1cfd6447e8a 100644 --- a/homeassistant/util/color.py +++ b/homeassistant/util/color.py @@ -218,7 +218,7 @@ def color_RGB_to_xy( # Taken from: -# http://www.developers.meethue.com/documentation/color-conversions-rgb-xy +# https://github.com/PhilipsHue/PhilipsHueSDK-iOS-OSX/blob/00187a3/ApplicationDesignNotes/RGB%20to%20xy%20Color%20conversion.md # License: Code is given as is. Use at your own risk and discretion. def color_RGB_to_xy_brightness( iR: int, iG: int, iB: int, Gamut: GamutType | None = None @@ -268,7 +268,7 @@ def color_xy_to_RGB( # Converted to Python from Obj-C, original source from: -# http://www.developers.meethue.com/documentation/color-conversions-rgb-xy +# https://github.com/PhilipsHue/PhilipsHueSDK-iOS-OSX/blob/00187a3/ApplicationDesignNotes/RGB%20to%20xy%20Color%20conversion.md def color_xy_brightness_to_RGB( vX: float, vY: float, ibrightness: int, Gamut: GamutType | None = None ) -> tuple[int, int, int]: