UnitsAll
color Tool

Color Code Converter

Translate color codes between CSS formats with visual preview swatch.

Bi-Directional Color Code Converter

Convert color codes seamlessly in real-time across HEX, RGB, RGBA, HSL, HSLA, HSV, and CMYK formats.

Bi-Directional Color Field Controls

RGB Channels (0 - 255)
R: 59
G: 130
B: 246
HSL Inputs (Hue: 0-360°, Saturation: 0-100%, Lightness: 0-100%)
CMYK Print Inputs (0 - 100%)
#3B82F6
HEX#3B82F6
RGBrgb(59, 130, 246)
HSLhsl(217, 91%, 60%)
HSVhsv(217, 76%, 96%)
CMYKcmyk(76%, 47%, 0%, 4%)
Color Harmony Palettes
Complementary Pair
Analogous Trio

How Color Code Converter Works

Calculates equivalent mathematical color channel values across RGB, HEX, and HSL models.

Frequently Asked Questions

What is HEX color format?

HEX color codes use a 6-digit hexadecimal string representing RGB color intensity.

Related color Tools & Utilities