#5d3c00 Color
Color Codes | |
---|---|
Hex Code | #5d3c00 |
RGB Code | rgb(93, 60, 00) |
HSL Code | hsl(39, 100%, 18%) |
#5d3c00 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(93, 60, 00); }
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(39, 100%, 18%); }
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 #5d3c00
RGB Code | Hex Code | Preview |
---|---|---|
rgb(93, 60, 00, 10%) | #5d3c001a | |
rgb(93, 60, 00, 20%) | #5d3c0033 | |
rgb(93, 60, 00, 40%) | #5d3c004C | |
rgb(93, 60, 00, 60%) | #5d3c0099 | |
rgb(93, 60, 00, 80%) | #5d3c00CC | |
rgb(93, 60, 00, 100%) | #5d3c00FF |
Saturated and desaturated colors of #5d3c00
HSL Code | Preview |
---|---|
hsl(39, 10%, 18%) | |
hsl(39, 20%, 18%) | |
hsl(39, 40%, 18%) | |
hsl(39, 60%, 18%) | |
hsl(39, 80%, 18%) | |
hsl(39, 100%, 18%) |
#5d3c00 Color Usage In CSS
body { color: #5d3c00; } p { color: rgb(93, 60, 00); } header { border-bottom:1px solid #5d3c00; }