#944ce2 Color
Color Codes | |
---|---|
Hex Code | #944ce2 |
RGB Code | rgb(148, 76, 226) |
HSL Code | hsl(269, 72%, 59%) |
#944ce2 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(148, 76, 226); }
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(269, 72%, 59%); }
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 #944ce2
RGB Code | Hex Code | Preview |
---|---|---|
rgb(148, 76, 226, 10%) | #944ce21a | |
rgb(148, 76, 226, 20%) | #944ce233 | |
rgb(148, 76, 226, 40%) | #944ce24C | |
rgb(148, 76, 226, 60%) | #944ce299 | |
rgb(148, 76, 226, 80%) | #944ce2CC | |
rgb(148, 76, 226, 100%) | #944ce2FF |
Saturated and desaturated colors of #944ce2
HSL Code | Preview |
---|---|
hsl(269, 10%, 59%) | |
hsl(269, 20%, 59%) | |
hsl(269, 40%, 59%) | |
hsl(269, 60%, 59%) | |
hsl(269, 80%, 59%) | |
hsl(269, 100%, 59%) |
#944ce2 Color Usage In CSS
body { color: #944ce2; } p { color: rgb(148, 76, 226); } header { border-bottom:1px solid #944ce2; }