#21c563 Color
Color Codes | |
---|---|
Hex Code | #21c563 |
RGB Code | rgb(33, 197, 99) |
HSL Code | hsl(144, 71%, 45%) |
#21c563 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(33, 197, 99); }
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(144, 71%, 45%); }
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 #21c563
RGB Code | Hex Code | Preview |
---|---|---|
rgb(33, 197, 99, 10%) | #21c5631a | |
rgb(33, 197, 99, 20%) | #21c56333 | |
rgb(33, 197, 99, 40%) | #21c5634C | |
rgb(33, 197, 99, 60%) | #21c56399 | |
rgb(33, 197, 99, 80%) | #21c563CC | |
rgb(33, 197, 99, 100%) | #21c563FF |
Saturated and desaturated colors of #21c563
HSL Code | Preview |
---|---|
hsl(144, 10%, 45%) | |
hsl(144, 20%, 45%) | |
hsl(144, 40%, 45%) | |
hsl(144, 60%, 45%) | |
hsl(144, 80%, 45%) | |
hsl(144, 100%, 45%) |
#21c563 Color Usage In CSS
body { color: #21c563; } p { color: rgb(33, 197, 99); } header { border-bottom:1px solid #21c563; }