#2e0216 Color
Color Codes | |
---|---|
Hex Code | #2e0216 |
RGB Code | rgb(46, 02, 22) |
HSL Code | hsl(333, 92%, 9%) |
#2e0216 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(46, 02, 22); }
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(333, 92%, 9%); }
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 #2e0216
RGB Code | Hex Code | Preview |
---|---|---|
rgb(46, 02, 22, 10%) | #2e02161a | |
rgb(46, 02, 22, 20%) | #2e021633 | |
rgb(46, 02, 22, 40%) | #2e02164C | |
rgb(46, 02, 22, 60%) | #2e021699 | |
rgb(46, 02, 22, 80%) | #2e0216CC | |
rgb(46, 02, 22, 100%) | #2e0216FF |
Saturated and desaturated colors of #2e0216
HSL Code | Preview |
---|---|
hsl(333, 10%, 9%) | |
hsl(333, 20%, 9%) | |
hsl(333, 40%, 9%) | |
hsl(333, 60%, 9%) | |
hsl(333, 80%, 9%) | |
hsl(333, 100%, 9%) |
#2e0216 Color Usage In CSS
body { color: #2e0216; } p { color: rgb(46, 02, 22); } header { border-bottom:1px solid #2e0216; }