#a6d4f7 Color
Color Codes | |
---|---|
Hex Code | #a6d4f7 |
RGB Code | rgb(166, 212, 247) |
HSL Code | hsl(206, 84%, 81%) |
#a6d4f7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(166, 212, 247); }
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(206, 84%, 81%); }
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 #a6d4f7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(166, 212, 247, 10%) | #a6d4f71a | |
rgb(166, 212, 247, 20%) | #a6d4f733 | |
rgb(166, 212, 247, 40%) | #a6d4f74C | |
rgb(166, 212, 247, 60%) | #a6d4f799 | |
rgb(166, 212, 247, 80%) | #a6d4f7CC | |
rgb(166, 212, 247, 100%) | #a6d4f7FF |
Saturated and desaturated colors of #a6d4f7
HSL Code | Preview |
---|---|
hsl(206, 10%, 81%) | |
hsl(206, 20%, 81%) | |
hsl(206, 40%, 81%) | |
hsl(206, 60%, 81%) | |
hsl(206, 80%, 81%) | |
hsl(206, 100%, 81%) |
#a6d4f7 Color Usage In CSS
body { color: #a6d4f7; } p { color: rgb(166, 212, 247); } header { border-bottom:1px solid #a6d4f7; }