#f2aae8 Color
Color Codes | |
---|---|
Hex Code | #f2aae8 |
RGB Code | rgb(242, 170, 232) |
HSL Code | hsl(308, 73%, 81%) |
#f2aae8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(242, 170, 232); }
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(308, 73%, 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 #f2aae8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(242, 170, 232, 10%) | #f2aae81a | |
rgb(242, 170, 232, 20%) | #f2aae833 | |
rgb(242, 170, 232, 40%) | #f2aae84C | |
rgb(242, 170, 232, 60%) | #f2aae899 | |
rgb(242, 170, 232, 80%) | #f2aae8CC | |
rgb(242, 170, 232, 100%) | #f2aae8FF |
Saturated and desaturated colors of #f2aae8
HSL Code | Preview |
---|---|
hsl(308, 10%, 81%) | |
hsl(308, 20%, 81%) | |
hsl(308, 40%, 81%) | |
hsl(308, 60%, 81%) | |
hsl(308, 80%, 81%) | |
hsl(308, 100%, 81%) |
#f2aae8 Color Usage In CSS
body { color: #f2aae8; } p { color: rgb(242, 170, 232); } header { border-bottom:1px solid #f2aae8; }