All tools / 03 Color
Color converter
Type a color in almost any form: hex, rgb(), hsl(), hsv(), cmyk(), oklch(), or a name like tomato. You get it back in every format. Values outside the screen's range are clipped to the nearest sRGB color.
#2f6f5e
HEX
#2f6f5e
RGB
rgb(47 111 94)
RGB (commas)
rgb(47, 111, 94)
HSL
hsl(164 41% 31%)
HSV / HSB
hsv(164, 58%, 44%)
CMYK
cmyk(58%, 0%, 15%, 56%)
OKLCH
oklch(49.5% 0.072 173.3)
OKLab
oklab(49.5% -0.071 0.008)
CIE Lab (D65)
lab(42.4% -25 3.3)
Tailwind arbitrary
bg-[#2f6f5e]
Integer (0xRRGGBB)
0x2F6F5E