#873ee1 Color
Color Codes | |
---|---|
Hex Code | #873ee1 |
RGB Code | rgb(135, 62, 225) |
HSL Code | hsl(267, 73%, 56%) |
#873ee1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(135, 62, 225); }
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(267, 73%, 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 #873ee1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(135, 62, 225, 10%) | #873ee11a | |
rgb(135, 62, 225, 20%) | #873ee133 | |
rgb(135, 62, 225, 40%) | #873ee14C | |
rgb(135, 62, 225, 60%) | #873ee199 | |
rgb(135, 62, 225, 80%) | #873ee1CC | |
rgb(135, 62, 225, 100%) | #873ee1FF |
Saturated and desaturated colors of #873ee1
HSL Code | Preview |
---|---|
hsl(267, 10%, 56%) | |
hsl(267, 20%, 56%) | |
hsl(267, 40%, 56%) | |
hsl(267, 60%, 56%) | |
hsl(267, 80%, 56%) | |
hsl(267, 100%, 56%) |
#873ee1 Color Usage In CSS
body { color: #873ee1; } p { color: rgb(135, 62, 225); } header { border-bottom:1px solid #873ee1; }