#296c23 Color
Color Codes | |
---|---|
Hex Code | #296c23 |
RGB Code | rgb(41, 108, 35) |
HSL Code | hsl(115, 51%, 28%) |
#296c23 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(41, 108, 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(115, 51%, 28%); }
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 #296c23
RGB Code | Hex Code | Preview |
---|---|---|
rgb(41, 108, 35, 10%) | #296c231a | |
rgb(41, 108, 35, 20%) | #296c2333 | |
rgb(41, 108, 35, 40%) | #296c234C | |
rgb(41, 108, 35, 60%) | #296c2399 | |
rgb(41, 108, 35, 80%) | #296c23CC | |
rgb(41, 108, 35, 100%) | #296c23FF |
Saturated and desaturated colors of #296c23
HSL Code | Preview |
---|---|
hsl(115, 10%, 28%) | |
hsl(115, 20%, 28%) | |
hsl(115, 40%, 28%) | |
hsl(115, 60%, 28%) | |
hsl(115, 80%, 28%) | |
hsl(115, 100%, 28%) |
#296c23 Color Usage In CSS
body { color: #296c23; } p { color: rgb(41, 108, 35); } header { border-bottom:1px solid #296c23; }