#281b18 Color
Color Codes | |
---|---|
Hex Code | #281b18 |
RGB Code | rgb(40, 27, 24) |
HSL Code | hsl(11, 25%, 13%) |
#281b18 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(40, 27, 24); }
R(red), G(green), B(blue) can be number between 0-255.
A parameter is a hex characters (0–9, A–F) and optional.
hsl()
hsl(hue saturation lightness); hsl(hue saturation lightness / alpha); div { background-color: hsl(11, 25%, 13%); }
Saturation value is a percentage value between 0% unsaturated and 100% fully saturated.
Lightness value is a percentage value between 100% is white and 0% is black.
Lighter and darker colors of #281b18
RGB Code | Hex Code | Preview |
---|---|---|
rgb(40, 27, 24, 10%) | #281b181a | |
rgb(40, 27, 24, 20%) | #281b1833 | |
rgb(40, 27, 24, 40%) | #281b184C | |
rgb(40, 27, 24, 60%) | #281b1899 | |
rgb(40, 27, 24, 80%) | #281b18CC | |
rgb(40, 27, 24, 100%) | #281b18FF |
Saturated and desaturated colors of #281b18
HSL Code | Preview |
---|---|
hsl(11, 10%, 13%) | |
hsl(11, 20%, 13%) | |
hsl(11, 40%, 13%) | |
hsl(11, 60%, 13%) | |
hsl(11, 80%, 13%) | |
hsl(11, 100%, 13%) |
#281b18 Color Usage In CSS
body { color: #281b18; } p { color: rgb(40, 27, 24); } header { border-bottom:1px solid #281b18; }