#299906 Color
Color Codes | |
---|---|
Hex Code | #299906 |
RGB Code | rgb(41, 153, 06) |
HSL Code | hsl(106, 92%, 31%) |
#299906 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(41, 153, 06); }
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(106, 92%, 31%); }
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 #299906
RGB Code | Hex Code | Preview |
---|---|---|
rgb(41, 153, 06, 10%) | #2999061a | |
rgb(41, 153, 06, 20%) | #29990633 | |
rgb(41, 153, 06, 40%) | #2999064C | |
rgb(41, 153, 06, 60%) | #29990699 | |
rgb(41, 153, 06, 80%) | #299906CC | |
rgb(41, 153, 06, 100%) | #299906FF |
Saturated and desaturated colors of #299906
HSL Code | Preview |
---|---|
hsl(106, 10%, 31%) | |
hsl(106, 20%, 31%) | |
hsl(106, 40%, 31%) | |
hsl(106, 60%, 31%) | |
hsl(106, 80%, 31%) | |
hsl(106, 100%, 31%) |
#299906 Color Usage In CSS
body { color: #299906; } p { color: rgb(41, 153, 06); } header { border-bottom:1px solid #299906; }