decimal / hexadecimal converter

auf Deutsch

RGB to HEX and HEX to RGB

The Input "#0000ff" detected as "HEX".

Data for the color
Color  
websafe Yes
CSS3 Color names
  • blue
  • blue1
HTML 4.01 Color name
  • Blue
Hex #0000ff
Hex (short) #00f
RGB rgb(0,0,255)
RGB in % rgb(0%,0%,100%)
CMY in % C=100
M=100
Y=0
CMYK in % C=100
M=100
Y=0
K=0
HSL hsl(240,100%,50%)
HSV hsv(240,100%,100%)
Rec. 601 luma 29.07
Rec. 709 luma 18.411
Rec. 2020 luma 15.1215
Grey scale (Rec. 601 luma) #1d1d1d  
Grey scale (Rec. 709 luma) #121212  
Grey scale (Rec. 2020 luma) #0f0f0f  
Complementary color #ffff00  
Decimal 255

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