#5d4f03 Color
Color Codes | |
---|---|
Hex Code | #5d4f03 |
RGB Code | rgb(93, 79, 03) |
HSL Code | hsl(51, 94%, 19%) |
#5d4f03 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(93, 79, 03); }
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(51, 94%, 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 #5d4f03
RGB Code | Hex Code | Preview |
---|---|---|
rgb(93, 79, 03, 10%) | #5d4f031a | |
rgb(93, 79, 03, 20%) | #5d4f0333 | |
rgb(93, 79, 03, 40%) | #5d4f034C | |
rgb(93, 79, 03, 60%) | #5d4f0399 | |
rgb(93, 79, 03, 80%) | #5d4f03CC | |
rgb(93, 79, 03, 100%) | #5d4f03FF |
Saturated and desaturated colors of #5d4f03
HSL Code | Preview |
---|---|
hsl(51, 10%, 19%) | |
hsl(51, 20%, 19%) | |
hsl(51, 40%, 19%) | |
hsl(51, 60%, 19%) | |
hsl(51, 80%, 19%) | |
hsl(51, 100%, 19%) |
#5d4f03 Color Usage In CSS
body { color: #5d4f03; } p { color: rgb(93, 79, 03); } header { border-bottom:1px solid #5d4f03; }