HEX codes are the most common way to specify colors in web design, but sometimes you need the individual red, green, and blue channel values for CSS rgba() functions, JavaScript canvas operations, or design tool inputs that expect decimal RGB. Enter any 3-digit or 6-digit hex color code and get the exact RGB values along with ready-to-paste CSS syntax, saving you from manual hexadecimal-to-decimal conversion.
Color Converter
Convert any color between HEX, RGB, HSL, and CMYK with a live preview, copy-able values, and a tints & shades strip.
#3B82F6rgb(59, 130, 246)hsl(217, 91%, 60%)cmyk(76%, 47%, 0%, 4%)HEX — 6-digit hexadecimal code used widely in web design (e.g., #FF5733).
RGB — Red, Green, Blue channels (0–255 each), the additive color model for screens.
HSL — Hue (0–360°), Saturation (0–100%), Lightness (0–100%). More intuitive for humans.
CMYK — Cyan, Magenta, Yellow, Key (Black) — the subtractive model used in printing.