Free Color Code Converters

Convert between HEX, RGB, HSL, and CMYK color formats instantly — with formula explanations, color pickers, and a 12-color reference table per page. All math runs in your browser.

12 color conversion pages · Used by web designers, frontend developers, and print designers.

Convert from HEX

A 6-digit hex code (#RRGGBB) representing red, green, and blue channels in base-16. The most widely used color format in web development and CSS.

Convert from RGB

Three integer values (0–255) for red, green, and blue light. The native color model for screens, monitors, and digital displays.

Convert from HSL

Hue (0–360°), Saturation (0–100%), and Lightness (0–100%). Designed to be intuitive for humans — great for adjusting color tones in CSS.

Convert from CMYK

Four percentages for Cyan, Magenta, Yellow, and Black ink. The standard color model for print design and professional publishing.

Color Format Reference

HEX

Hexadecimal

A 6-digit hex code (#RRGGBB) representing red, green, and blue channels in base-16. The most widely used color format in web development and CSS.

color: #6366f1

RGB

Red, Green, Blue

Three integer values (0–255) for red, green, and blue light. The native color model for screens, monitors, and digital displays.

color: rgb(99, 102, 241)

HSL

Hue, Saturation, Lightness

Hue (0–360°), Saturation (0–100%), and Lightness (0–100%). Designed to be intuitive for humans — great for adjusting color tones in CSS.

color: hsl(239, 84%, 67%)

CMYK

Cyan, Magenta, Yellow, Key (Black)

Four percentages for Cyan, Magenta, Yellow, and Black ink. The standard color model for print design and professional publishing.

Not natively supported in CSS (convert to HEX first)

Need unit conversions? Weight, length, temperature, and more:

All Unit Converters