Loading…

How to use Color Format Converter

Type or paste a color in any supported format, then read and copy the HEX, RGB, HSL, HSV, CMYK and LAB equivalents.

Frequently asked questions

Which formats can I convert between?

HEX, RGB, HSL, HSV, CMYK, CIE-LAB and CSS named colors — enter any one and the rest are computed live.

Is HEX to RGB exact?

Yes — HEX and RGB describe the same 8-bit sRGB values, so the conversion is lossless in both directions.

Why do HSL values look rounded?

HSL hue, saturation and lightness are rounded to whole numbers for readability, but they map back to the same color.

More Color Tools

Color Contrast Checker
Check WCAG AA/AAA contrast ratios for text and backgrounds
WCAG Color Compliance
Test all WCAG 2.1 text size requirements with pass/fail badges
Color Mixer
Blend two colors with a ratio slider and preview the mix
Tints & Shades Generator
Generate a complete range of tints and shades from any color
Gradient Color Steps
Generate N evenly-spaced colors between two endpoints
Color Harmonies
Generate complementary, triadic and analogous palettes
Random Palette Generator
Generate beautiful random color palettes with one click
Color Opacity / RGBA
Add alpha transparency to any color and get rgba() values
Image Color Extractor
Upload an image to extract its dominant color palette
Color Blindness Simulator
Simulate how your palette looks with different color blindness
Color Name Finder
Find the nearest CSS named color for any hex value
CSS Color Names Reference
Complete table of all 148 CSS named colors with hex values

← View all Color ToolsBrowse all 1,100+ tools →