decimal / hexadecimal converter

auf Deutsch

RGB to HEX and HEX to RGB

The Input "#336" detected as "HEX".

Data for the color
Color  
websafe Yes
Hex #333366
Hex (short) #336
RGB rgb(51,51,102)
RGB in % rgb(20%,20%,40%)
CMY in % C=80
M=80
Y=60
CMYK in % C=50
M=50
Y=0
K=60
HSL hsl(240,33%,30%)
HSV hsv(240,50%,40%)
Rec. 601 luma 56,814
Rec. 709 luma 54,6822
Rec. 2020 luma 54,0243
Grey scale (Rec. 601 luma) #393939  
Grey scale (Rec. 709 luma) #373737  
Grey scale (Rec. 2020 luma) #363636  
Complementary color #cccc99  
Decimal 6697779

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