Type any color (HEX, RGB, HSL or a name), pick one, or grab one from your screen. Get every format, check contrast for accessibility and generate matching palettes.
Recent colors
Accessibility contrast
Palette
Click a swatch to use it and copy its HEX value.
A designer hands over a HEX code, but your CSS needs HSL to adjust lightness programmatically, or RGB for a canvas drawing API. Converting by hand is error-prone — one digit off and the color is subtly, maddeningly wrong.
RGB defines a color by red, green, and blue light intensity (0–255 each). HSL defines it by hue (color on a wheel), saturation (intensity), and lightness — often more intuitive for adjusting a color (lighter, more muted, etc.) by hand.
This tool works with HEX and the color picker — for named CSS colors, check them against a CSS color reference first and convert the HEX value here.
Not in this version — it converts fully opaque colors. For transparency, append an alpha value to the RGB/HSL output manually (e.g. rgba(…, 0.5)).
Veloce Digital designs complete, consistent visual identities — not just one converted color.
See Design ServicesMore free tools