#a587ce Color
Color Codes | |
---|---|
Hex Code | #a587ce |
RGB Code | rgb(165, 135, 206) |
HSL Code | hsl(265, 42%, 67%) |
#a587ce Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(165, 135, 206); }
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(265, 42%, 67%); }
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 #a587ce
RGB Code | Hex Code | Preview |
---|---|---|
rgb(165, 135, 206, 10%) | #a587ce1a | |
rgb(165, 135, 206, 20%) | #a587ce33 | |
rgb(165, 135, 206, 40%) | #a587ce4C | |
rgb(165, 135, 206, 60%) | #a587ce99 | |
rgb(165, 135, 206, 80%) | #a587ceCC | |
rgb(165, 135, 206, 100%) | #a587ceFF |
Saturated and desaturated colors of #a587ce
HSL Code | Preview |
---|---|
hsl(265, 10%, 67%) | |
hsl(265, 20%, 67%) | |
hsl(265, 40%, 67%) | |
hsl(265, 60%, 67%) | |
hsl(265, 80%, 67%) | |
hsl(265, 100%, 67%) |
#a587ce Color Usage In CSS
body { color: #a587ce; } p { color: rgb(165, 135, 206); } header { border-bottom:1px solid #a587ce; }