#21ee20 Color
Color Codes | |
---|---|
Hex Code | #21ee20 |
RGB Code | rgb(33, 238, 32) |
HSL Code | hsl(120, 86%, 53%) |
#21ee20 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(33, 238, 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(120, 86%, 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 #21ee20
RGB Code | Hex Code | Preview |
---|---|---|
rgb(33, 238, 32, 10%) | #21ee201a | |
rgb(33, 238, 32, 20%) | #21ee2033 | |
rgb(33, 238, 32, 40%) | #21ee204C | |
rgb(33, 238, 32, 60%) | #21ee2099 | |
rgb(33, 238, 32, 80%) | #21ee20CC | |
rgb(33, 238, 32, 100%) | #21ee20FF |
Saturated and desaturated colors of #21ee20
HSL Code | Preview |
---|---|
hsl(120, 10%, 53%) | |
hsl(120, 20%, 53%) | |
hsl(120, 40%, 53%) | |
hsl(120, 60%, 53%) | |
hsl(120, 80%, 53%) | |
hsl(120, 100%, 53%) |
#21ee20 Color Usage In CSS
body { color: #21ee20; } p { color: rgb(33, 238, 32); } header { border-bottom:1px solid #21ee20; }