#06a220 Color
Color Codes | |
---|---|
Hex Code | #06a220 |
RGB Code | rgb(06, 162, 32) |
HSL Code | hsl(130, 93%, 33%) |
#06a220 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(06, 162, 32); }
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(130, 93%, 33%); }
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 #06a220
RGB Code | Hex Code | Preview |
---|---|---|
rgb(06, 162, 32, 10%) | #06a2201a | |
rgb(06, 162, 32, 20%) | #06a22033 | |
rgb(06, 162, 32, 40%) | #06a2204C | |
rgb(06, 162, 32, 60%) | #06a22099 | |
rgb(06, 162, 32, 80%) | #06a220CC | |
rgb(06, 162, 32, 100%) | #06a220FF |
Saturated and desaturated colors of #06a220
HSL Code | Preview |
---|---|
hsl(130, 10%, 33%) | |
hsl(130, 20%, 33%) | |
hsl(130, 40%, 33%) | |
hsl(130, 60%, 33%) | |
hsl(130, 80%, 33%) | |
hsl(130, 100%, 33%) |
#06a220 Color Usage In CSS
body { color: #06a220; } p { color: rgb(06, 162, 32); } header { border-bottom:1px solid #06a220; }