decimal / hexadecimal converter

auf Deutsch

RGB to HEX and HEX to RGB

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

Data for the color
Color  
websafe Yes
CSS3 Color names
  • gray20
  • grey20
Hex #333333
Hex (short) #333
RGB rgb(51,51,51)
RGB in % rgb(20%,20%,20%)
CMY in % C=80
M=80
Y=80
CMYK in % C=0
M=0
Y=0
K=80
HSL hsl(0,0%,20%)
HSV hsv(-,0%,20%)
Rec. 601 luma 51
Rec. 709 luma 51
Rec. 2020 luma 51
Complementary color #cccccc  
Decimal 3355443

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