Add your input
A HEX value or interactive RGB controls.
Keep formats synchronized while choosing and fine-tuning a color.
Alpha transparency is preserved when it is present.
#14B8A6rgb(20, 184, 166)hsl(173, 80.4%, 40.0%)--color-brand: #14B8A6;Your work stays private in your browser while you use this tool.
Convert one CSS color among hexadecimal, RGB(A), and HSL(A) notation while preserving an alpha channel when one is supplied. The page also produces a ready-to-paste CSS custom-property declaration.
A HEX value or interactive RGB controls.
Keep formats synchronized while choosing and fine-tuning a color.
Copy-ready color values for design and development.
OKLCH is useful when you want perceived lightness changes to feel more even.
Translate a HEX value from a design handoff into RGB or HSL for an existing stylesheet.
Inspect the hue, saturation, and lightness behind an RGB color before adjusting it.
Normalize a shorthand or alpha-bearing HEX value before storing it as a design token.
The parser accepts 3-, 4-, 6-, or 8-digit HEX plus numeric rgb()/rgba() and hsl()/hsla() input. It converts the parsed color through sRGB channel math, expands shorthand HEX, rounds displayed RGB channels, and derives HSL from the channel maximum, minimum, and lightness.
Yes. Color converter is free to use.
Yes. Your work stays private while you use the tool — nothing you enter is uploaded.
Yes. Four- or eight-digit HEX, rgba(), and hsla() input keeps its alpha value in the generated HEX, RGB, and HSL forms. Fully opaque input is shown without an alpha component.
This implementation deliberately recognizes only HEX, numeric RGB(A), and numeric HSL(A). Convert a named color to one of those forms before entering it.