#21f8b3 Color
Color Codes | |
---|---|
Hex Code | #21f8b3 |
RGB Code | rgb(33, 248, 179) |
HSL Code | hsl(161, 94%, 55%) |
#21f8b3 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(33, 248, 179); }
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(161, 94%, 55%); }
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 #21f8b3
RGB Code | Hex Code | Preview |
---|---|---|
rgb(33, 248, 179, 10%) | #21f8b31a | |
rgb(33, 248, 179, 20%) | #21f8b333 | |
rgb(33, 248, 179, 40%) | #21f8b34C | |
rgb(33, 248, 179, 60%) | #21f8b399 | |
rgb(33, 248, 179, 80%) | #21f8b3CC | |
rgb(33, 248, 179, 100%) | #21f8b3FF |
Saturated and desaturated colors of #21f8b3
HSL Code | Preview |
---|---|
hsl(161, 10%, 55%) | |
hsl(161, 20%, 55%) | |
hsl(161, 40%, 55%) | |
hsl(161, 60%, 55%) | |
hsl(161, 80%, 55%) | |
hsl(161, 100%, 55%) |
#21f8b3 Color Usage In CSS
body { color: #21f8b3; } p { color: rgb(33, 248, 179); } header { border-bottom:1px solid #21f8b3; }