#9903d1 Color
Color Codes | |
---|---|
Hex Code | #9903d1 |
RGB Code | rgb(153, 03, 209) |
HSL Code | hsl(284, 97%, 42%) |
#9903d1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(153, 03, 209); }
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(284, 97%, 42%); }
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 #9903d1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(153, 03, 209, 10%) | #9903d11a | |
rgb(153, 03, 209, 20%) | #9903d133 | |
rgb(153, 03, 209, 40%) | #9903d14C | |
rgb(153, 03, 209, 60%) | #9903d199 | |
rgb(153, 03, 209, 80%) | #9903d1CC | |
rgb(153, 03, 209, 100%) | #9903d1FF |
Saturated and desaturated colors of #9903d1
HSL Code | Preview |
---|---|
hsl(284, 10%, 42%) | |
hsl(284, 20%, 42%) | |
hsl(284, 40%, 42%) | |
hsl(284, 60%, 42%) | |
hsl(284, 80%, 42%) | |
hsl(284, 100%, 42%) |
#9903d1 Color Usage In CSS
body { color: #9903d1; } p { color: rgb(153, 03, 209); } header { border-bottom:1px solid #9903d1; }