#66ba52 Color
Color Codes | |
---|---|
Hex Code | #66ba52 |
RGB Code | rgb(102, 186, 82) |
HSL Code | hsl(108, 43%, 53%) |
#66ba52 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(102, 186, 82); }
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(108, 43%, 53%); }
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 #66ba52
RGB Code | Hex Code | Preview |
---|---|---|
rgb(102, 186, 82, 10%) | #66ba521a | |
rgb(102, 186, 82, 20%) | #66ba5233 | |
rgb(102, 186, 82, 40%) | #66ba524C | |
rgb(102, 186, 82, 60%) | #66ba5299 | |
rgb(102, 186, 82, 80%) | #66ba52CC | |
rgb(102, 186, 82, 100%) | #66ba52FF |
Saturated and desaturated colors of #66ba52
HSL Code | Preview |
---|---|
hsl(108, 10%, 53%) | |
hsl(108, 20%, 53%) | |
hsl(108, 40%, 53%) | |
hsl(108, 60%, 53%) | |
hsl(108, 80%, 53%) | |
hsl(108, 100%, 53%) |
#66ba52 Color Usage In CSS
body { color: #66ba52; } p { color: rgb(102, 186, 82); } header { border-bottom:1px solid #66ba52; }