hslWerten
HSL values refer to a color representation based on Hue, Saturation and Lightness. Hue denotes the color type on the color wheel and is expressed as an angle from 0 to 360 degrees, where 0 (and 360) is red, 120 is green, and 240 is blue. Saturation controls color intensity, ranging from 0% (gray) to 100% (full color). Lightness measures brightness, from 0% (black) to 100% (white), with 50% representing the standard brightness.
In practice, hsl values are widely used in CSS and design tools. The syntax is hsl(hue, saturation%,
- hsl(0, 100%, 50%) for pure red
- hsl(120, 100%, 50%) for pure green
- hsl(240, 100%, 50%) for pure blue
Conversions and interoperability: HSL values can be converted to RGB, which is often required for rendering
Advantages and notes: HSL offers an intuitive way to adjust color tone by tweaking lightness without altering
See also: HSV (or HSB), RGB, color models, color conversion.