#81a9cf Color
Color Codes | |
---|---|
Hex Code | #81a9cf |
RGB Code | rgb(129, 169, 207) |
HSL Code | hsl(209, 45%, 66%) |
#81a9cf Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(129, 169, 207); }
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(209, 45%, 66%); }
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 #81a9cf
RGB Code | Hex Code | Preview |
---|---|---|
rgb(129, 169, 207, 10%) | #81a9cf1a | |
rgb(129, 169, 207, 20%) | #81a9cf33 | |
rgb(129, 169, 207, 40%) | #81a9cf4C | |
rgb(129, 169, 207, 60%) | #81a9cf99 | |
rgb(129, 169, 207, 80%) | #81a9cfCC | |
rgb(129, 169, 207, 100%) | #81a9cfFF |
Saturated and desaturated colors of #81a9cf
HSL Code | Preview |
---|---|
hsl(209, 10%, 66%) | |
hsl(209, 20%, 66%) | |
hsl(209, 40%, 66%) | |
hsl(209, 60%, 66%) | |
hsl(209, 80%, 66%) | |
hsl(209, 100%, 66%) |
#81a9cf Color Usage In CSS
body { color: #81a9cf; } p { color: rgb(129, 169, 207); } header { border-bottom:1px solid #81a9cf; }