#961fe0 Color
Color Codes | |
---|---|
Hex Code | #961fe0 |
RGB Code | rgb(150, 31, 224) |
HSL Code | hsl(277, 76%, 50%) |
#961fe0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(150, 31, 224); }
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(277, 76%, 50%); }
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 #961fe0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(150, 31, 224, 10%) | #961fe01a | |
rgb(150, 31, 224, 20%) | #961fe033 | |
rgb(150, 31, 224, 40%) | #961fe04C | |
rgb(150, 31, 224, 60%) | #961fe099 | |
rgb(150, 31, 224, 80%) | #961fe0CC | |
rgb(150, 31, 224, 100%) | #961fe0FF |
Saturated and desaturated colors of #961fe0
HSL Code | Preview |
---|---|
hsl(277, 10%, 50%) | |
hsl(277, 20%, 50%) | |
hsl(277, 40%, 50%) | |
hsl(277, 60%, 50%) | |
hsl(277, 80%, 50%) | |
hsl(277, 100%, 50%) |
#961fe0 Color Usage In CSS
body { color: #961fe0; } p { color: rgb(150, 31, 224); } header { border-bottom:1px solid #961fe0; }