#81d6fa Color
Color Codes | |
---|---|
Hex Code | #81d6fa |
RGB Code | rgb(129, 214, 250) |
HSL Code | hsl(198, 92%, 74%) |
#81d6fa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(129, 214, 250); }
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(198, 92%, 74%); }
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 #81d6fa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(129, 214, 250, 10%) | #81d6fa1a | |
rgb(129, 214, 250, 20%) | #81d6fa33 | |
rgb(129, 214, 250, 40%) | #81d6fa4C | |
rgb(129, 214, 250, 60%) | #81d6fa99 | |
rgb(129, 214, 250, 80%) | #81d6faCC | |
rgb(129, 214, 250, 100%) | #81d6faFF |
Saturated and desaturated colors of #81d6fa
HSL Code | Preview |
---|---|
hsl(198, 10%, 74%) | |
hsl(198, 20%, 74%) | |
hsl(198, 40%, 74%) | |
hsl(198, 60%, 74%) | |
hsl(198, 80%, 74%) | |
hsl(198, 100%, 74%) |
#81d6fa Color Usage In CSS
body { color: #81d6fa; } p { color: rgb(129, 214, 250); } header { border-bottom:1px solid #81d6fa; }