From 2d0ac035f5095cef9e9a0b0dee7b50a90ee2e682 Mon Sep 17 00:00:00 2001 From: Collin Guarino Date: Fri, 26 Feb 2016 23:40:40 -0500 Subject: Improved color variable documentation. --- light.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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} -- cgit v1.2.3