#2d3721 Color
Color Codes | |
---|---|
Hex Code | #2d3721 |
RGB Code | rgb(45, 55, 33) |
HSL Code | hsl(87, 25%, 17%) |
#2d3721 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(45, 55, 33); }
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(87, 25%, 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 #2d3721
RGB Code | Hex Code | Preview |
---|---|---|
rgb(45, 55, 33, 10%) | #2d37211a | |
rgb(45, 55, 33, 20%) | #2d372133 | |
rgb(45, 55, 33, 40%) | #2d37214C | |
rgb(45, 55, 33, 60%) | #2d372199 | |
rgb(45, 55, 33, 80%) | #2d3721CC | |
rgb(45, 55, 33, 100%) | #2d3721FF |
Saturated and desaturated colors of #2d3721
HSL Code | Preview |
---|---|
hsl(87, 10%, 17%) | |
hsl(87, 20%, 17%) | |
hsl(87, 40%, 17%) | |
hsl(87, 60%, 17%) | |
hsl(87, 80%, 17%) | |
hsl(87, 100%, 17%) |
#2d3721 Color Usage In CSS
body { color: #2d3721; } p { color: rgb(45, 55, 33); } header { border-bottom:1px solid #2d3721; }