Color Converter

Convert between HEX, RGB, HSL, CMYK, and more.

Pick a Color
All Color Formats
Copy standard CSS color values
Adjust Color
48%
91%
royalblue
48%
0.24
AA Yes
AA No

About Color Formats

HEX (Hexadecimal)

A 6-digit code used in HTML, CSS, and SVG. It represents red, green, and blue components (e.g., #FFFFFF for white).

RGB (Red, Green, Blue)

An additive color model used for digital screens. Each value ranges from 0 to 255.

HSL (Hue, Saturation, Lightness)

More intuitive for humans. Hue is the color angle (0-360°), while saturation and lightness are percentages.

CMYK (Cyan, Magenta, Yellow, Key)

A subtractive color model used in printing. Key refers to black.

Accessibility

When designing for the web, it's crucial to ensure sufficient contrast between text and background colors. This tool automatically checks contrast ratios against WCAG 2.0 standards (AA and AAA) to help you build accessible designs.