aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--light.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/light.go b/light.go
index 77b2dae..f6674de 100644
--- a/light.go
+++ b/light.go
@@ -151,7 +151,8 @@ func (light *Light) ColorLoop(activate bool) error {
return light.SetState(LightState{On: true, Effect: state})
}
-// XY HSL colors used in `Light.SetColor`
+// XY positions on the HSL color spectrum used in `Light.SetColor`
+// https://en.wikipedia.org/wiki/HSL_and_HSV
var (
RED = &[2]float32{0.6915, 0.3083}
YELLOW = &[2]float32{0.4023, 0.4725}