#5b3228 Color
Color Codes | |
---|---|
Hex Code | #5b3228 |
RGB Code | rgb(91, 50, 40) |
HSL Code | hsl(12, 39%, 26%) |
#5b3228 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(91, 50, 40); }
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(12, 39%, 26%); }
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 #5b3228
RGB Code | Hex Code | Preview |
---|---|---|
rgb(91, 50, 40, 10%) | #5b32281a | |
rgb(91, 50, 40, 20%) | #5b322833 | |
rgb(91, 50, 40, 40%) | #5b32284C | |
rgb(91, 50, 40, 60%) | #5b322899 | |
rgb(91, 50, 40, 80%) | #5b3228CC | |
rgb(91, 50, 40, 100%) | #5b3228FF |
Saturated and desaturated colors of #5b3228
HSL Code | Preview |
---|---|
hsl(12, 10%, 26%) | |
hsl(12, 20%, 26%) | |
hsl(12, 40%, 26%) | |
hsl(12, 60%, 26%) | |
hsl(12, 80%, 26%) | |
hsl(12, 100%, 26%) |
#5b3228 Color Usage In CSS
body { color: #5b3228; } p { color: rgb(91, 50, 40); } header { border-bottom:1px solid #5b3228; }