#5e4c04 Color
Color Codes | |
---|---|
Hex Code | #5e4c04 |
RGB Code | rgb(94, 76, 04) |
HSL Code | hsl(48, 92%, 19%) |
#5e4c04 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(94, 76, 04); }
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(48, 92%, 19%); }
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 #5e4c04
RGB Code | Hex Code | Preview |
---|---|---|
rgb(94, 76, 04, 10%) | #5e4c041a | |
rgb(94, 76, 04, 20%) | #5e4c0433 | |
rgb(94, 76, 04, 40%) | #5e4c044C | |
rgb(94, 76, 04, 60%) | #5e4c0499 | |
rgb(94, 76, 04, 80%) | #5e4c04CC | |
rgb(94, 76, 04, 100%) | #5e4c04FF |
Saturated and desaturated colors of #5e4c04
HSL Code | Preview |
---|---|
hsl(48, 10%, 19%) | |
hsl(48, 20%, 19%) | |
hsl(48, 40%, 19%) | |
hsl(48, 60%, 19%) | |
hsl(48, 80%, 19%) | |
hsl(48, 100%, 19%) |
#5e4c04 Color Usage In CSS
body { color: #5e4c04; } p { color: rgb(94, 76, 04); } header { border-bottom:1px solid #5e4c04; }