#2b4613 Color
Color Codes | |
---|---|
Hex Code | #2b4613 |
RGB Code | rgb(43, 70, 19) |
HSL Code | hsl(92, 57%, 17%) |
#2b4613 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(43, 70, 19); }
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(92, 57%, 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 #2b4613
RGB Code | Hex Code | Preview |
---|---|---|
rgb(43, 70, 19, 10%) | #2b46131a | |
rgb(43, 70, 19, 20%) | #2b461333 | |
rgb(43, 70, 19, 40%) | #2b46134C | |
rgb(43, 70, 19, 60%) | #2b461399 | |
rgb(43, 70, 19, 80%) | #2b4613CC | |
rgb(43, 70, 19, 100%) | #2b4613FF |
Saturated and desaturated colors of #2b4613
HSL Code | Preview |
---|---|
hsl(92, 10%, 17%) | |
hsl(92, 20%, 17%) | |
hsl(92, 40%, 17%) | |
hsl(92, 60%, 17%) | |
hsl(92, 80%, 17%) | |
hsl(92, 100%, 17%) |
#2b4613 Color Usage In CSS
body { color: #2b4613; } p { color: rgb(43, 70, 19); } header { border-bottom:1px solid #2b4613; }