#9450e8 Color
Color Codes | |
---|---|
Hex Code | #9450e8 |
RGB Code | rgb(148, 80, 232) |
HSL Code | hsl(267, 77%, 61%) |
#9450e8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(148, 80, 232); }
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, 77%, 61%); }
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 #9450e8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(148, 80, 232, 10%) | #9450e81a | |
rgb(148, 80, 232, 20%) | #9450e833 | |
rgb(148, 80, 232, 40%) | #9450e84C | |
rgb(148, 80, 232, 60%) | #9450e899 | |
rgb(148, 80, 232, 80%) | #9450e8CC | |
rgb(148, 80, 232, 100%) | #9450e8FF |
Saturated and desaturated colors of #9450e8
HSL Code | Preview |
---|---|
hsl(267, 10%, 61%) | |
hsl(267, 20%, 61%) | |
hsl(267, 40%, 61%) | |
hsl(267, 60%, 61%) | |
hsl(267, 80%, 61%) | |
hsl(267, 100%, 61%) |
#9450e8 Color Usage In CSS
body { color: #9450e8; } p { color: rgb(148, 80, 232); } header { border-bottom:1px solid #9450e8; }