Shades of Black
Pure black is #000000, but most "blacks" in design are slightly coloured — warm licorice and bistre, cool gunmetal and onyx, or the faint green of jungle black. These near-blacks have their hex, RGB and HSL codes below.
Click any shade to copy its hex code.
Bright blacks 9
Black tones 9
Deep blacks 8
Black color palettes
Five-colour palettes built from the shades above. Click a colour to copy it, or copy the whole palette.
Black gradients
Made from these black shades — copy the CSS.
Black gradients from the library
Coffee Bean
Chocolate
Espresso
Brown and Black
Holiday Kwanzaa Kinara
Holiday Evergreen Night
Holiday Silent Night
Halloween Blood Moon
Black color FAQ
What is the hex code for black?
The standard black hex code is #000000, which is RGB(0, 0, 0). In CSS you can also write it as the keyword black.
How many shades of black are there?
There is no fixed number — a normal screen can show millions of variations. This page lists 26 named shades of black, from Black Coral (#54626F) to Black (#000000), each with its hex, RGB and HSL code.
Which black hex codes are the darkest?
The darkest named blacks here are Rich Black (#010B13), Vampire Black (#080808), Black (#000000). Use them for text, borders and deep backgrounds with light text on top.
What colors go well with black?
Black is a neutral, so it goes with almost any colour. A single saturated accent — a blue, a coral or a green — usually looks best against it; keep two or three neutrals for everything else.
How do I use these black shades in CSS?
Click any shade to copy its hex code, then use it anywhere CSS takes a colour: color: #000000; or background: linear-gradient(135deg, #54626F, #000000);. RGB and HSL work the same way: rgb(0 0 0).
More color shades
Build with these colours: Palette Generator · Gradient Generator · Contrast Checker
