#b960fe Color
Color Codes | |
---|---|
Hex Code | #b960fe |
RGB Code | rgb(185, 96, 254) |
HSL Code | hsl(274, 99%, 69%) |
#b960fe Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(185, 96, 254); }
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(274, 99%, 69%); }
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 #b960fe
RGB Code | Hex Code | Preview |
---|---|---|
rgb(185, 96, 254, 10%) | #b960fe1a | |
rgb(185, 96, 254, 20%) | #b960fe33 | |
rgb(185, 96, 254, 40%) | #b960fe4C | |
rgb(185, 96, 254, 60%) | #b960fe99 | |
rgb(185, 96, 254, 80%) | #b960feCC | |
rgb(185, 96, 254, 100%) | #b960feFF |
Saturated and desaturated colors of #b960fe
HSL Code | Preview |
---|---|
hsl(274, 10%, 69%) | |
hsl(274, 20%, 69%) | |
hsl(274, 40%, 69%) | |
hsl(274, 60%, 69%) | |
hsl(274, 80%, 69%) | |
hsl(274, 100%, 69%) |
#b960fe Color Usage In CSS
body { color: #b960fe; } p { color: rgb(185, 96, 254); } header { border-bottom:1px solid #b960fe; }