#21c5da Color
Color Codes | |
---|---|
Hex Code | #21c5da |
RGB Code | rgb(33, 197, 218) |
HSL Code | hsl(187, 74%, 49%) |
#21c5da Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(33, 197, 218); }
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(187, 74%, 49%); }
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 #21c5da
RGB Code | Hex Code | Preview |
---|---|---|
rgb(33, 197, 218, 10%) | #21c5da1a | |
rgb(33, 197, 218, 20%) | #21c5da33 | |
rgb(33, 197, 218, 40%) | #21c5da4C | |
rgb(33, 197, 218, 60%) | #21c5da99 | |
rgb(33, 197, 218, 80%) | #21c5daCC | |
rgb(33, 197, 218, 100%) | #21c5daFF |
Saturated and desaturated colors of #21c5da
HSL Code | Preview |
---|---|
hsl(187, 10%, 49%) | |
hsl(187, 20%, 49%) | |
hsl(187, 40%, 49%) | |
hsl(187, 60%, 49%) | |
hsl(187, 80%, 49%) | |
hsl(187, 100%, 49%) |
#21c5da Color Usage In CSS
body { color: #21c5da; } p { color: rgb(33, 197, 218); } header { border-bottom:1px solid #21c5da; }