#81a4f6 Color
Color Codes | |
---|---|
Hex Code | #81a4f6 |
RGB Code | rgb(129, 164, 246) |
HSL Code | hsl(222, 87%, 74%) |
#81a4f6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(129, 164, 246); }
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(222, 87%, 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 #81a4f6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(129, 164, 246, 10%) | #81a4f61a | |
rgb(129, 164, 246, 20%) | #81a4f633 | |
rgb(129, 164, 246, 40%) | #81a4f64C | |
rgb(129, 164, 246, 60%) | #81a4f699 | |
rgb(129, 164, 246, 80%) | #81a4f6CC | |
rgb(129, 164, 246, 100%) | #81a4f6FF |
Saturated and desaturated colors of #81a4f6
HSL Code | Preview |
---|---|
hsl(222, 10%, 74%) | |
hsl(222, 20%, 74%) | |
hsl(222, 40%, 74%) | |
hsl(222, 60%, 74%) | |
hsl(222, 80%, 74%) | |
hsl(222, 100%, 74%) |
#81a4f6 Color Usage In CSS
body { color: #81a4f6; } p { color: rgb(129, 164, 246); } header { border-bottom:1px solid #81a4f6; }