decimal / hexadecimal converter

auf Deutsch

RGB to HEX and HEX to RGB

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

Data for the color
Color  
websafe Yes
CSS3 Color names
  • yellow
  • yellow1
HTML 4.01 Color name
  • Yellow
Hex #ffff00
Hex (short) #ff0
RGB rgb(255,255,0)
RGB in % rgb(100%,100%,0%)
CMY in % C=0
M=0
Y=100
CMYK in % C=0
M=0
Y=100
K=0
HSL hsl(60,100%,50%)
HSV hsv(60,100%,100%)
Rec. 601 luma 225.93
Rec. 709 luma 236.589
Rec. 2020 luma 239.8785
Grey scale (Rec. 601 luma) #e2e2e2  
Grey scale (Rec. 709 luma) #ededed  
Grey scale (Rec. 2020 luma) #f0f0f0  
Complementary color #0000ff  
Decimal 16776960

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