#914ee8 Color
Color Codes | |
---|---|
Hex Code | #914ee8 |
RGB Code | rgb(145, 78, 232) |
HSL Code | hsl(266, 77%, 61%) |
#914ee8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(145, 78, 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(266, 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 #914ee8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(145, 78, 232, 10%) | #914ee81a | |
rgb(145, 78, 232, 20%) | #914ee833 | |
rgb(145, 78, 232, 40%) | #914ee84C | |
rgb(145, 78, 232, 60%) | #914ee899 | |
rgb(145, 78, 232, 80%) | #914ee8CC | |
rgb(145, 78, 232, 100%) | #914ee8FF |
Saturated and desaturated colors of #914ee8
HSL Code | Preview |
---|---|
hsl(266, 10%, 61%) | |
hsl(266, 20%, 61%) | |
hsl(266, 40%, 61%) | |
hsl(266, 60%, 61%) | |
hsl(266, 80%, 61%) | |
hsl(266, 100%, 61%) |
#914ee8 Color Usage In CSS
body { color: #914ee8; } p { color: rgb(145, 78, 232); } header { border-bottom:1px solid #914ee8; }