HTML named color
Black color code
Use the Black HTML color with HEX #000000, RGB 0,0,0 and HSL 0,0%,0%. Copy CSS examples, shades and accessible contrast combinations.
Neutres
#000000
rgb(0,0,0)
HEX
#000000RGB
rgb(0,0,0)HSL
hsl(0,0%,0%)CSS name
blackCSS examples
.text-black {
color: #000000;
}
.bg-black {
background-color: black;
}
.border-black {
border-color: rgb(0,0,0);
}Shades palette
#1F1414#462F2F#714B4B#996666#B48E8E#D0B9B9#EBE0E0