How to use it 01 Enter the color with the picker or the HEX field, or drag the R, G and B sliders. 02 Fine-tune in HSL with the hue, saturation and lightness sliders; the HEX and all cards follow. 03 Read the card you need. CSS-ready strings sit in RGB, HSL, HSV and CMYK; Lab and LCH carry the pipeline values; luminance is the WCAG-relevant number. 04 Copy a card. Copy the HSL string for a stylesheet, the RGB value for a design tool, or the nearest named color when a keyword is required.
Worked readouts
Card
#0072b2
#e8590c
#808080
RGB
rgb(0, 114, 178)
rgb(232, 89, 12)
rgb(128, 128, 128)
HSL
hsl(202, 100%, 35%)
hsl(21, 90%, 48%)
hsl(0, 0%, 50%)
HSV
hsv(202, 100%, 70%)
hsv(21, 95%, 91%)
hsv(0, 0%, 50%)
CMYK
cmyk(100%, 36%, 0%, 30%)
cmyk(0%, 62%, 95%, 9%)
cmyk(0%, 0%, 0%, 50%)
LAB
lab(45.97 -2.743 -41.37)
lab(56.42 52.67 63.79)
lab(53.59 -0.000009998 0.000003999)
LCH
lch(45.97 41.46 266.2)
lch(56.42 82.73 50.45)
lch(53.59 0.00001077 158.2)
Luminance
0.1525
0.2433
0.2159
Nearest named
steelblue · #4682b4 · ΔE₇₆ = 11.3
orangered · #ff4500 · ΔE₇₆ = 16
gray · #808080 · ΔE₇₆ = 0
The conversion chain HEX and RGB are the same bytes; HSL and HSV are two cylindrical re-spellings of them. The perceptual cards take a longer path: each sRGB channel is linearised, multiplied into XYZ under a D65 white point, then transformed into CIELAB, with LCH re-expressing Lab as lightness, chroma and hue angle. The nearest-name card computes ΔE₇₆ — the straight-line distance in Lab — against the 148 CSS keywords, so "nearest" is the closest by distance, not by eye in HSL.
Assumptions and limits
sRGB only, and the CMYK card is not a press proof. It is a plain c/m/y/k subtraction from the RGB value, useful as a dialogue number, not as a printing recipe. No ICC profile, no ink, no gamut check. What it does not do: it does not analyse images, pick pixels off the screen or edit files. Average and dominant colors from an image live in the Image panel ; palette generation and color-blind previews live in Palette ; text-versus-background verdicts live in Contrast .
The hue that means nothing #808080 is perfectly gray, yet the LCH card prints a hue of 158.2° — because its chroma is roughly 0.00001, and a hue angle is meaningless when there is no chroma to point it at. Do not sort achromatic colors by LCH hue or compare their hue columns. The Lab card shows the same story: a and b are essentially zero, while lightness 53.59 carries the only real information.
Where it helps Handing values to a developer Copy hsl(202, 100%, 35%) instead of eyeballing a swatch, or paste the Lab triple into a design tool that supports CIELAB. The same view gives the luminance to carry over to a contrast check.
Sanity-checking brand values A brand guide that says "steelblue" can be checked against #0072b2: the nearest keyword is the older steelblue themselves, at a ΔE₇₆ of 11.3 — close enough to name, far enough to keep the exact HEX.
Privacy Conversions run entirely in your browser; no value is uploaded and no palette history is stored anywhere but this device.
References
W3C, CSS Color Module Level 4 , w3.org (访问日期:2026-10-07)— the RGB/HSL/HSV syntax and named colors referenced by the cards.
Wikipedia, sRGB , en.wikipedia.org (访问日期:2026-10-07)— the standard RGB space and its transfer function.
Wikipedia, CIELAB color space , en.wikipedia.org (访问日期:2026-10-07)— the XYZ-to-Lab transform and LCH polar form.
Wikipedia, Color difference , en.wikipedia.org (访问日期:2026-10-07)— Euclid-style ΔE and later formulas behind the nearest-name distance.
Calculators in this hub
Hand-picked tools, one click away. The mini versions compute live and carry your values into the full calculator.
Sources & review
Reviewed by CalcX Editorial Team
Updated 2026-10-07