Color Converter
Type or pick a color and see it in every format at once: HEX, RGB, RGBA, HSL, HSV and CMYK. Copy any value with one click and explore lighter and darker shades.
How to use the color converter
- Type a color in any format, such as
#4f46e5,rgb(79, 70, 229),hsl(243, 75%, 59%)or a name liketomato. Or use the color picker. - Copy the format you need.
- Click a shade to explore lighter and darker versions of the same color.
HEX and RGB describe a color as amounts of red, green and blue; HEX is just RGB written in base 16. HSL describes the hue (0 to 360 degrees), saturation and lightness, which is easier to adjust by hand: raise the lightness for a tint, lower it for a shade. CMYK is used in printing. The CMYK values here are the simple mathematical conversion; printed colors also depend on the printer profile, so expect small differences.
Frequently asked questions
How do I convert HEX to RGB?
Paste the HEX code, for example #4f46e5. The RGB value is shown straight away: rgb(79, 70, 229).
Does it support transparency?
Yes. 8-digit HEX such as #4f46e5cc, rgba() and hsla() values keep their alpha.
Can I type a color name?
Yes. Standard CSS names such as tomato, navy and rebeccapurple are understood.
