taptools/Color Converter

Color Converter

Convert between HEX, RGB, HSL and CMYK instantly. Free, no signup.

#111827
rgb(17, 24, 39)
R17
G24
B39

hsl(221, 39%, 11%)

CSS values
HEX#111827
RGBrgb(17, 24, 39)
HSLhsl(221, 39%, 11%)
RGBArgba(17, 24, 39, 1)

Related tools

Frequently asked questions

What is HEX color format?

HEX is a 6-digit hexadecimal code representing red, green and blue values. For example #FF5733 means red=255, green=87, blue=51. Used in CSS and web design.

What is RGB color format?

RGB stands for Red, Green, Blue. Each value ranges from 0 to 255. For example rgb(255, 87, 51). It is the most common format for screens and monitors.

What is HSL color format?

HSL stands for Hue, Saturation, Lightness. Hue is the color angle (0-360), saturation is the intensity (0-100%) and lightness is the brightness (0-100%). More intuitive for designers.

What is CMYK color format?

CMYK stands for Cyan, Magenta, Yellow, Key (Black). It is used in printing. Unlike RGB which adds light, CMYK subtracts light — mixing all gives black.

Which format should I use in CSS?

All formats work in modern CSS. HEX is most common for fixed colors, RGB/RGBA is useful when you need transparency, and HSL is great when you want to adjust brightness or saturation programmatically.