decimal / hexadecimal converter

auf Deutsch

RGB to HEX and HEX to RGB

The Input "240,230,140" detected as "RGB".

Data for the color
Color  
websafe No  
CSS3 Color name
  • khaki
Hex #f0e68c
RGB rgb(240,230,140)
RGB in % rgb(94%,90%,55%)
CMY in % C=6
M=10
Y=45
CMYK in % C=0
M=4
Y=42
K=6
HSL hsl(54,77%,75%)
HSV hsv(54,42%,94%)
Rec. 601 luma 222.73
Rec. 709 luma 225.628
Rec. 2020 luma 227.29
Grey scale (Rec. 601 luma) #dfdfdf  
Grey scale (Rec. 709 luma) #e2e2e2  
Grey scale (Rec. 2020 luma) #e3e3e3  
Complementary color #0f1973  
Decimal 15787660

Show the nearest websafe color data.

The following inputs are converted automatically:

X11 Color names
example: DodgerBlue4

#rrggbb; rrggbb; #rgb; rgb
(HEX to RGB bzw. HEX2RGB)
example: #4169E1

rgb(r,g,b); r,g,b; rgb(r%,g%,b%); r%,g%,b%
(RGB to HEX bzw. RGB2HEX)
example: 106,90,205

Imprint / Privacy Statement