diff --git a/HslColor-object-API.md b/HslColor-object-API.md index 36f7e7c..1ce47c9 100644 --- a/HslColor-object-API.md +++ b/HslColor-object-API.md @@ -1,4 +1,7 @@ -HslColor represents a color object that is represented by Hue, Saturation, Lightness component values. The primary use of this class is for easy definitions of color. +HslColor represents a color object that is represented by Hue, Saturation, Lightness component values. The primary use of this class is for easy definitions of color. See [Wikipedia article on HSL color space](https://en.wikipedia.org/wiki/HSL_and_HSV) + +![Visual representation of HSL color space](https://upload.wikimedia.org/wikipedia/commons/thumb/6/6b/HSL_color_solid_cylinder_saturation_gray.png/320px-HSL_color_solid_cylinder_saturation_gray.png) + ## Properties There are three properties that represent the component values Hue, Saturation, and Lightness. The values range from 0.0f to 1.0f. @@ -9,6 +12,7 @@ float H; float S; float L; ``` + ## Constructors ### HslColor(float h, float s, float l) :