#18b2ca Color
Color Codes | |
---|---|
Hex Code | #18b2ca |
RGB Code | rgb(24, 178, 202) |
HSL Code | hsl(188, 79%, 44%) |
#18b2ca Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(24, 178, 202); }
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(188, 79%, 44%); }
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 #18b2ca
RGB Code | Hex Code | Preview |
---|---|---|
rgb(24, 178, 202, 10%) | #18b2ca1a | |
rgb(24, 178, 202, 20%) | #18b2ca33 | |
rgb(24, 178, 202, 40%) | #18b2ca4C | |
rgb(24, 178, 202, 60%) | #18b2ca99 | |
rgb(24, 178, 202, 80%) | #18b2caCC | |
rgb(24, 178, 202, 100%) | #18b2caFF |
Saturated and desaturated colors of #18b2ca
HSL Code | Preview |
---|---|
hsl(188, 10%, 44%) | |
hsl(188, 20%, 44%) | |
hsl(188, 40%, 44%) | |
hsl(188, 60%, 44%) | |
hsl(188, 80%, 44%) | |
hsl(188, 100%, 44%) |
#18b2ca Color Usage In CSS
body { color: #18b2ca; } p { color: rgb(24, 178, 202); } header { border-bottom:1px solid #18b2ca; }