#885ca2 Color
Color Codes | |
---|---|
Hex Code | #885ca2 |
RGB Code | rgb(136, 92, 162) |
HSL Code | hsl(278, 28%, 50%) |
#885ca2 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(136, 92, 162); }
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(278, 28%, 50%); }
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 #885ca2
RGB Code | Hex Code | Preview |
---|---|---|
rgb(136, 92, 162, 10%) | #885ca21a | |
rgb(136, 92, 162, 20%) | #885ca233 | |
rgb(136, 92, 162, 40%) | #885ca24C | |
rgb(136, 92, 162, 60%) | #885ca299 | |
rgb(136, 92, 162, 80%) | #885ca2CC | |
rgb(136, 92, 162, 100%) | #885ca2FF |
Saturated and desaturated colors of #885ca2
HSL Code | Preview |
---|---|
hsl(278, 10%, 50%) | |
hsl(278, 20%, 50%) | |
hsl(278, 40%, 50%) | |
hsl(278, 60%, 50%) | |
hsl(278, 80%, 50%) | |
hsl(278, 100%, 50%) |
#885ca2 Color Usage In CSS
body { color: #885ca2; } p { color: rgb(136, 92, 162); } header { border-bottom:1px solid #885ca2; }