HTML Color Picker

Pick a Color:
Or Enter a Color:
Or Use HTML5:
RGB Sliders
R255
G0
B0
Selected Color:
Black Text Shadow White Text Shadow
Red
#ff0000
rgb(255, 0, 0)
hsl(0, 100%, 50%)
Lighter / Darker:

HTML Color Names

HTML supports 140 standard color names. Click any color card to open it in the Color Picker. Click the hex code to copy it.

Showing 140 colors

HTML Color Shades

Each row shows a base color shaded from 100% (white) to 0% (black). Click any swatch to open it in the Color Picker.

Colors HEX

A hexadecimal color is specified as #RRGGBB — where RR, GG, BB are hex values between 00 and ff. For example, #ff0000 is pure red.

HEX Color Mixer
■ Red (RR)
■ Green (GG)
■ Blue (BB)
#ff0000
rgb(255, 0, 0)
ColorNameHEX ValueRGB Value

Colors RGB

An RGB color is specified with the rgb(red, green, blue) function. Each value is 0–255. For example, rgb(255, 0, 0) is red.

RGB Color Mixer
R255
G0
B0
rgb(255, 0, 0)
#ff0000
ColorNameRGB ValueHEX Value

HTML Color Picker

Pick any color using the gradient map, hue slider, or RGB sliders. Click any value badge to copy it.

R
G
B
Black Text White Text
HEX #ff0000
RGB rgb(255, 0, 0)
HSL hsl(0, 100%, 50%)
CMYK cmyk(0, 100, 100, 0)
Name Red