#5b4b23 Color
Color Codes | |
---|---|
Hex Code | #5b4b23 |
RGB Code | rgb(91, 75, 35) |
HSL Code | hsl(43, 44%, 25%) |
#5b4b23 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(91, 75, 35); }
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(43, 44%, 25%); }
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 #5b4b23
RGB Code | Hex Code | Preview |
---|---|---|
rgb(91, 75, 35, 10%) | #5b4b231a | |
rgb(91, 75, 35, 20%) | #5b4b2333 | |
rgb(91, 75, 35, 40%) | #5b4b234C | |
rgb(91, 75, 35, 60%) | #5b4b2399 | |
rgb(91, 75, 35, 80%) | #5b4b23CC | |
rgb(91, 75, 35, 100%) | #5b4b23FF |
Saturated and desaturated colors of #5b4b23
HSL Code | Preview |
---|---|
hsl(43, 10%, 25%) | |
hsl(43, 20%, 25%) | |
hsl(43, 40%, 25%) | |
hsl(43, 60%, 25%) | |
hsl(43, 80%, 25%) | |
hsl(43, 100%, 25%) |
#5b4b23 Color Usage In CSS
body { color: #5b4b23; } p { color: rgb(91, 75, 35); } header { border-bottom:1px solid #5b4b23; }