mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-18 01:34:04 +02:00
style
This commit is contained in:
parent
3c1312f0f8
commit
e655956a3f
1 changed files with 1 additions and 1 deletions
|
|
@ -255,7 +255,7 @@ def _supported_features(hass: HomeAssistant, light: str):
|
|||
|
||||
|
||||
def color_difference_redmean(rgb1, rgb2):
|
||||
"""The distance between colors in RGB space, known as redmean.
|
||||
"""Distance between colors in RGB space (redmean metric).
|
||||
|
||||
The maximal distance between (255, 255, 255) and (0, 0, 0) ≈ 765.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue