decimal / hexadecimal converter

auf Deutsch

RGB to HEX and HEX to RGB

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

Data for the color
Color  
websafe No  
CSS3 Color names
  • gray95
  • grey95
Hex #f2f2f2
RGB rgb(242,242,242)
RGB in % rgb(95%,95%,95%)
CMY in % C=5
M=5
Y=5
CMYK in % C=0
M=0
Y=0
K=5
HSL hsl(0,0%,95%)
HSV hsv(-,0%,95%)
Rec. 601 luma 242
Rec. 709 luma 242
Complementary color #0d0d0d  
Decimal 15921906
Data for the websafe color
Color  
websafe yes
X11 Color names
  • gray100
  • grey100
  • white
HTML 4.01 Color name
  • White
Hex #ffffff
Hex (short) #fff
RGB rgb(255,255,255)
RGB in % rgb(100%,100%,100%)
CMY in % C=0
M=0
Y=0
CMYK in % C=0
M=0
Y=0
K=0
HSL hsl(0,0%,100%)
HSV hsv(-,0%,100%)
Rec. 601 luma 255
Rec. 709 luma 255
Complementary color #000000  
Decimal 16777215

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

Impressum