#8581ed Color
Color Codes | |
---|---|
Hex Code | #8581ed |
RGB Code | rgb(133, 129, 237) |
HSL Code | hsl(242, 75%, 72%) |
#8581ed Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(133, 129, 237); }
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(242, 75%, 72%); }
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 #8581ed
RGB Code | Hex Code | Preview |
---|---|---|
rgb(133, 129, 237, 10%) | #8581ed1a | |
rgb(133, 129, 237, 20%) | #8581ed33 | |
rgb(133, 129, 237, 40%) | #8581ed4C | |
rgb(133, 129, 237, 60%) | #8581ed99 | |
rgb(133, 129, 237, 80%) | #8581edCC | |
rgb(133, 129, 237, 100%) | #8581edFF |
Saturated and desaturated colors of #8581ed
HSL Code | Preview |
---|---|
hsl(242, 10%, 72%) | |
hsl(242, 20%, 72%) | |
hsl(242, 40%, 72%) | |
hsl(242, 60%, 72%) | |
hsl(242, 80%, 72%) | |
hsl(242, 100%, 72%) |
#8581ed Color Usage In CSS
body { color: #8581ed; } p { color: rgb(133, 129, 237); } header { border-bottom:1px solid #8581ed; }