Converters
Color Converter
Convert colors between HEX, RGB, HSL, HSV and CMYK.
Free foreverRuns in your browserNo sign-up
#337dff
| HEX | #337dff | |
| RGB | rgb(51, 125, 255) | |
| HSL | hsl(218, 100%, 60%) | |
| HSV | hsv(218, 80%, 100%) | |
| CMYK | cmyk(80%, 51%, 0%, 0%) |
About the Color Converter
Convert a color between HEX, RGB, HSL, HSV and CMYK, with a live swatch preview for design and CSS work.
Enter a HEX code, an rgb() value or a CSS color name, then copy any format in one click.
Each model describes the same color differently: HEX and RGB use red, green and blue channels, HSL and HSV use hue with saturation, and CMYK is used for print.
Key features
- HEX, RGB, HSL, HSV and CMYK output
- Accepts HEX, rgb() or CSS color names
- Live color preview swatch and picker
- Copy any format instantly
How to use
- 1Pick a color or type a HEX, RGB or color name.
- 2Read the value in every color format.
- 3Copy the format you need in one click.
Examples
HEX to every format
Input:
#337dffOutput:
rgb(51, 125, 255), hsl(217, 100%, 60%)The same color is shown in RGB, HSL, HSV and CMYK at once.
Color name input
Input:
royalblueOutput:
#4169e1CSS color names are accepted and converted like any HEX value.
Frequently asked questions
- Which color formats are supported?
- It outputs HEX, RGB, HSL, HSV and CMYK, and accepts HEX codes, rgb() values and CSS color names as input.
- What is CMYK used for?
- CMYK (cyan, magenta, yellow, key/black) is the color model used for printing, so it helps when preparing artwork for print.
- Does it accept 3-digit HEX codes?
- Yes. Shorthand codes like #37f are expanded automatically before conversion.
- Is my color data uploaded?
- No. The conversion runs entirely in your browser.
