Color Converter
Convert between HEX, RGB, HSL, and CMYK color formats
Color Preview
Sample text with this color and background like this.
About HEX Format
HEX colors use hexadecimal notation (base 16) to represent RGB values. The format is #RRGGBB where RR is red, GG is green, and BB is blue, each ranging from 00 to FF (0-255 in decimal).
About RGB Format
RGB (Red, Green, Blue) is an additive color model where colors are created by mixing red, green, and blue light. Each component ranges from 0-255. Used in digital displays and web design.
About HSL Format
HSL (Hue, Saturation, Lightness) represents colors in a more intuitive way. Hue is the color type (0-360°), Saturation is the intensity (0-100%), and Lightness controls how bright or dark the color is (0-100%).
About CMYK Format
CMYK (Cyan, Magenta, Yellow, Key/Black) is a subtractive color model used in printing. Each component ranges from 0-100%, where higher values create darker colors. Used primarily for print design.
How to Use the Color Converter
Input Options
- Enter a color code in the input field
- Or use the color picker to select a color visually
- Supports HEX:
#RGB
or#RRGGBB
- Supports RGB:
rgb(r, g, b)
- Supports HSL:
hsl(h, s%, l%)
- Supports CMYK:
cmyk(c%, m%, y%, k%)
Output Options
- Click on the format tabs to view different conversions
- Use the Copy button to copy values to clipboard
- View a live preview of your color
- All format values are updated automatically