#c2aafe Color
Color Codes | |
---|---|
Hex Code | #c2aafe |
RGB Code | rgb(194, 170, 254) |
HSL Code | hsl(257, 98%, 83%) |
#c2aafe Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(194, 170, 254); }
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(257, 98%, 83%); }
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 #c2aafe
RGB Code | Hex Code | Preview |
---|---|---|
rgb(194, 170, 254, 10%) | #c2aafe1a | |
rgb(194, 170, 254, 20%) | #c2aafe33 | |
rgb(194, 170, 254, 40%) | #c2aafe4C | |
rgb(194, 170, 254, 60%) | #c2aafe99 | |
rgb(194, 170, 254, 80%) | #c2aafeCC | |
rgb(194, 170, 254, 100%) | #c2aafeFF |
Saturated and desaturated colors of #c2aafe
HSL Code | Preview |
---|---|
hsl(257, 10%, 83%) | |
hsl(257, 20%, 83%) | |
hsl(257, 40%, 83%) | |
hsl(257, 60%, 83%) | |
hsl(257, 80%, 83%) | |
hsl(257, 100%, 83%) |
#c2aafe Color Usage In CSS
body { color: #c2aafe; } p { color: rgb(194, 170, 254); } header { border-bottom:1px solid #c2aafe; }