#a874a8 Color
Color Codes | |
---|---|
Hex Code | #a874a8 |
RGB Code | rgb(168, 116, 168) |
HSL Code | hsl(300, 23%, 56%) |
#a874a8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(168, 116, 168); }
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(300, 23%, 56%); }
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 #a874a8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(168, 116, 168, 10%) | #a874a81a | |
rgb(168, 116, 168, 20%) | #a874a833 | |
rgb(168, 116, 168, 40%) | #a874a84C | |
rgb(168, 116, 168, 60%) | #a874a899 | |
rgb(168, 116, 168, 80%) | #a874a8CC | |
rgb(168, 116, 168, 100%) | #a874a8FF |
Saturated and desaturated colors of #a874a8
HSL Code | Preview |
---|---|
hsl(300, 10%, 56%) | |
hsl(300, 20%, 56%) | |
hsl(300, 40%, 56%) | |
hsl(300, 60%, 56%) | |
hsl(300, 80%, 56%) | |
hsl(300, 100%, 56%) |
#a874a8 Color Usage In CSS
body { color: #a874a8; } p { color: rgb(168, 116, 168); } header { border-bottom:1px solid #a874a8; }