HEX
A # followed by six (or three) hex digits. The compact form used in CSS and design tools.
$ convert | hex | rgb
Convert HEX, RGB and HSL colors.
#159447rgb(21, 148, 71)hsl(144, 75%, 33%)Type a HEX, rgb() or hsl() value and all three forms are shown. The conversion runs in your browser — the color never leaves the page.
#159447 => rgb(21, 148, 71) · hsl(144, 75%, 33%)
The same green shown three ways; pick the form your stylesheet or design tool expects.
A # followed by six (or three) hex digits. The compact form used in CSS and design tools.
Three numbers from 0 to 255 for red, green and blue. Easy to read and edit.
Hue in degrees plus saturation and lightness in percent. Intuitive for shifting a shade.
If the outputs show dashes, the input was not a recognised color — check the HEX has six digits, rgb() values are 0–255, and hsl() uses percentages for s and l. The swatch renders transparent when parsing fails, so a missing preview is a quick signal something is off.