#3a211b Color
Color Codes | |
---|---|
Hex Code | #3a211b |
RGB Code | rgb(58, 33, 27) |
HSL Code | hsl(12, 36%, 17%) |
#3a211b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(58, 33, 27); }
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, 36%, 17%); }
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 #3a211b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(58, 33, 27, 10%) | #3a211b1a | |
rgb(58, 33, 27, 20%) | #3a211b33 | |
rgb(58, 33, 27, 40%) | #3a211b4C | |
rgb(58, 33, 27, 60%) | #3a211b99 | |
rgb(58, 33, 27, 80%) | #3a211bCC | |
rgb(58, 33, 27, 100%) | #3a211bFF |
Saturated and desaturated colors of #3a211b
HSL Code | Preview |
---|---|
hsl(12, 10%, 17%) | |
hsl(12, 20%, 17%) | |
hsl(12, 40%, 17%) | |
hsl(12, 60%, 17%) | |
hsl(12, 80%, 17%) | |
hsl(12, 100%, 17%) |
#3a211b Color Usage In CSS
body { color: #3a211b; } p { color: rgb(58, 33, 27); } header { border-bottom:1px solid #3a211b; }