Why does gray have a hue of zero?
At zero saturation, hue does not change the resulting gray. This tool reports 0 degrees as a conventional value for an undefined achromatic hue.
Is transparency preserved?
Yes. Alpha is retained in RGBA/HSLA or an 8-digit HEX value when below 1. An 8-bit alpha byte and a decimal fraction can differ slightly through rounding.
Can I paste a CSS color name?
This page is specific to its named input format. Use Color Converter for CSS named colors or a mixture of supported formats.
Why did an input show an error?
Check the format, number of channels, units and bounds. RGB values are 0–255 or 0–100%; HSL saturation/lightness are 0–100%; alpha is 0–1 or 0–100%. Contextual CSS expressions and wider color spaces are not supported.
What is pure red #FF0000 in HSL?
It is hsl(0 100% 50%). Hue chooses the red position, saturation is full, and HSL lightness is halfway between black and white.
Does HSL lightness mean contrast or perceived brightness?
No. HSL lightness is a coordinate in the color model. Two hues with the same lightness can have different luminance and text contrast.
Can I convert the HSL result back to the original HEX?
Usually the byte color can be recovered when enough precision is retained. Rounding hue, saturation or lightness before converting back can change a channel slightly.