#5e0a14 Color
Color Codes | |
---|---|
Hex Code | #5e0a14 |
RGB Code | rgb(94, 10, 20) |
HSL Code | hsl(353, 81%, 20%) |
#5e0a14 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(94, 10, 20); }
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(353, 81%, 20%); }
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 #5e0a14
RGB Code | Hex Code | Preview |
---|---|---|
rgb(94, 10, 20, 10%) | #5e0a141a | |
rgb(94, 10, 20, 20%) | #5e0a1433 | |
rgb(94, 10, 20, 40%) | #5e0a144C | |
rgb(94, 10, 20, 60%) | #5e0a1499 | |
rgb(94, 10, 20, 80%) | #5e0a14CC | |
rgb(94, 10, 20, 100%) | #5e0a14FF |
Saturated and desaturated colors of #5e0a14
HSL Code | Preview |
---|---|
hsl(353, 10%, 20%) | |
hsl(353, 20%, 20%) | |
hsl(353, 40%, 20%) | |
hsl(353, 60%, 20%) | |
hsl(353, 80%, 20%) | |
hsl(353, 100%, 20%) |
#5e0a14 Color Usage In CSS
body { color: #5e0a14; } p { color: rgb(94, 10, 20); } header { border-bottom:1px solid #5e0a14; }