#992fba Color
Color Codes | |
---|---|
Hex Code | #992fba |
RGB Code | rgb(153, 47, 186) |
HSL Code | hsl(286, 60%, 46%) |
#992fba Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(153, 47, 186); }
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(286, 60%, 46%); }
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 #992fba
RGB Code | Hex Code | Preview |
---|---|---|
rgb(153, 47, 186, 10%) | #992fba1a | |
rgb(153, 47, 186, 20%) | #992fba33 | |
rgb(153, 47, 186, 40%) | #992fba4C | |
rgb(153, 47, 186, 60%) | #992fba99 | |
rgb(153, 47, 186, 80%) | #992fbaCC | |
rgb(153, 47, 186, 100%) | #992fbaFF |
Saturated and desaturated colors of #992fba
HSL Code | Preview |
---|---|
hsl(286, 10%, 46%) | |
hsl(286, 20%, 46%) | |
hsl(286, 40%, 46%) | |
hsl(286, 60%, 46%) | |
hsl(286, 80%, 46%) | |
hsl(286, 100%, 46%) |
#992fba Color Usage In CSS
body { color: #992fba; } p { color: rgb(153, 47, 186); } header { border-bottom:1px solid #992fba; }