#877bd0 Color
Color Codes | |
---|---|
Hex Code | #877bd0 |
RGB Code | rgb(135, 123, 208) |
HSL Code | hsl(248, 47%, 65%) |
#877bd0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(135, 123, 208); }
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(248, 47%, 65%); }
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 #877bd0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(135, 123, 208, 10%) | #877bd01a | |
rgb(135, 123, 208, 20%) | #877bd033 | |
rgb(135, 123, 208, 40%) | #877bd04C | |
rgb(135, 123, 208, 60%) | #877bd099 | |
rgb(135, 123, 208, 80%) | #877bd0CC | |
rgb(135, 123, 208, 100%) | #877bd0FF |
Saturated and desaturated colors of #877bd0
HSL Code | Preview |
---|---|
hsl(248, 10%, 65%) | |
hsl(248, 20%, 65%) | |
hsl(248, 40%, 65%) | |
hsl(248, 60%, 65%) | |
hsl(248, 80%, 65%) | |
hsl(248, 100%, 65%) |
#877bd0 Color Usage In CSS
body { color: #877bd0; } p { color: rgb(135, 123, 208); } header { border-bottom:1px solid #877bd0; }