#a1c4e1 Color
Color Codes | |
---|---|
Hex Code | #a1c4e1 |
RGB Code | rgb(161, 196, 225) |
HSL Code | hsl(207, 52%, 76%) |
#a1c4e1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(161, 196, 225); }
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(207, 52%, 76%); }
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 #a1c4e1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(161, 196, 225, 10%) | #a1c4e11a | |
rgb(161, 196, 225, 20%) | #a1c4e133 | |
rgb(161, 196, 225, 40%) | #a1c4e14C | |
rgb(161, 196, 225, 60%) | #a1c4e199 | |
rgb(161, 196, 225, 80%) | #a1c4e1CC | |
rgb(161, 196, 225, 100%) | #a1c4e1FF |
Saturated and desaturated colors of #a1c4e1
HSL Code | Preview |
---|---|
hsl(207, 10%, 76%) | |
hsl(207, 20%, 76%) | |
hsl(207, 40%, 76%) | |
hsl(207, 60%, 76%) | |
hsl(207, 80%, 76%) | |
hsl(207, 100%, 76%) |
#a1c4e1 Color Usage In CSS
body { color: #a1c4e1; } p { color: rgb(161, 196, 225); } header { border-bottom:1px solid #a1c4e1; }