#a888f4 Color
Color Codes | |
---|---|
Hex Code | #a888f4 |
RGB Code | rgb(168, 136, 244) |
HSL Code | hsl(258, 83%, 75%) |
#a888f4 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(168, 136, 244); }
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(258, 83%, 75%); }
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 #a888f4
RGB Code | Hex Code | Preview |
---|---|---|
rgb(168, 136, 244, 10%) | #a888f41a | |
rgb(168, 136, 244, 20%) | #a888f433 | |
rgb(168, 136, 244, 40%) | #a888f44C | |
rgb(168, 136, 244, 60%) | #a888f499 | |
rgb(168, 136, 244, 80%) | #a888f4CC | |
rgb(168, 136, 244, 100%) | #a888f4FF |
Saturated and desaturated colors of #a888f4
HSL Code | Preview |
---|---|
hsl(258, 10%, 75%) | |
hsl(258, 20%, 75%) | |
hsl(258, 40%, 75%) | |
hsl(258, 60%, 75%) | |
hsl(258, 80%, 75%) | |
hsl(258, 100%, 75%) |
#a888f4 Color Usage In CSS
body { color: #a888f4; } p { color: rgb(168, 136, 244); } header { border-bottom:1px solid #a888f4; }