#962ca2 Color
Color Codes | |
---|---|
Hex Code | #962ca2 |
RGB Code | rgb(150, 44, 162) |
HSL Code | hsl(294, 57%, 40%) |
#962ca2 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(150, 44, 162); }
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(294, 57%, 40%); }
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 #962ca2
RGB Code | Hex Code | Preview |
---|---|---|
rgb(150, 44, 162, 10%) | #962ca21a | |
rgb(150, 44, 162, 20%) | #962ca233 | |
rgb(150, 44, 162, 40%) | #962ca24C | |
rgb(150, 44, 162, 60%) | #962ca299 | |
rgb(150, 44, 162, 80%) | #962ca2CC | |
rgb(150, 44, 162, 100%) | #962ca2FF |
Saturated and desaturated colors of #962ca2
HSL Code | Preview |
---|---|
hsl(294, 10%, 40%) | |
hsl(294, 20%, 40%) | |
hsl(294, 40%, 40%) | |
hsl(294, 60%, 40%) | |
hsl(294, 80%, 40%) | |
hsl(294, 100%, 40%) |
#962ca2 Color Usage In CSS
body { color: #962ca2; } p { color: rgb(150, 44, 162); } header { border-bottom:1px solid #962ca2; }