#9b14fa Color
Color Codes | |
---|---|
Hex Code | #9b14fa |
RGB Code | rgb(155, 20, 250) |
HSL Code | hsl(275, 96%, 53%) |
#9b14fa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(155, 20, 250); }
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(275, 96%, 53%); }
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 #9b14fa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(155, 20, 250, 10%) | #9b14fa1a | |
rgb(155, 20, 250, 20%) | #9b14fa33 | |
rgb(155, 20, 250, 40%) | #9b14fa4C | |
rgb(155, 20, 250, 60%) | #9b14fa99 | |
rgb(155, 20, 250, 80%) | #9b14faCC | |
rgb(155, 20, 250, 100%) | #9b14faFF |
Saturated and desaturated colors of #9b14fa
HSL Code | Preview |
---|---|
hsl(275, 10%, 53%) | |
hsl(275, 20%, 53%) | |
hsl(275, 40%, 53%) | |
hsl(275, 60%, 53%) | |
hsl(275, 80%, 53%) | |
hsl(275, 100%, 53%) |
#9b14fa Color Usage In CSS
body { color: #9b14fa; } p { color: rgb(155, 20, 250); } header { border-bottom:1px solid #9b14fa; }