#5e4512 Color
Color Codes | |
---|---|
Hex Code | #5e4512 |
RGB Code | rgb(94, 69, 18) |
HSL Code | hsl(40, 68%, 22%) |
#5e4512 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(94, 69, 18); }
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(40, 68%, 22%); }
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 #5e4512
RGB Code | Hex Code | Preview |
---|---|---|
rgb(94, 69, 18, 10%) | #5e45121a | |
rgb(94, 69, 18, 20%) | #5e451233 | |
rgb(94, 69, 18, 40%) | #5e45124C | |
rgb(94, 69, 18, 60%) | #5e451299 | |
rgb(94, 69, 18, 80%) | #5e4512CC | |
rgb(94, 69, 18, 100%) | #5e4512FF |
Saturated and desaturated colors of #5e4512
HSL Code | Preview |
---|---|
hsl(40, 10%, 22%) | |
hsl(40, 20%, 22%) | |
hsl(40, 40%, 22%) | |
hsl(40, 60%, 22%) | |
hsl(40, 80%, 22%) | |
hsl(40, 100%, 22%) |
#5e4512 Color Usage In CSS
body { color: #5e4512; } p { color: rgb(94, 69, 18); } header { border-bottom:1px solid #5e4512; }