#9066c9 Color
Color Codes | |
---|---|
Hex Code | #9066c9 |
RGB Code | rgb(144, 102, 201) |
HSL Code | hsl(265, 48%, 59%) |
#9066c9 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(144, 102, 201); }
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(265, 48%, 59%); }
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 #9066c9
RGB Code | Hex Code | Preview |
---|---|---|
rgb(144, 102, 201, 10%) | #9066c91a | |
rgb(144, 102, 201, 20%) | #9066c933 | |
rgb(144, 102, 201, 40%) | #9066c94C | |
rgb(144, 102, 201, 60%) | #9066c999 | |
rgb(144, 102, 201, 80%) | #9066c9CC | |
rgb(144, 102, 201, 100%) | #9066c9FF |
Saturated and desaturated colors of #9066c9
HSL Code | Preview |
---|---|
hsl(265, 10%, 59%) | |
hsl(265, 20%, 59%) | |
hsl(265, 40%, 59%) | |
hsl(265, 60%, 59%) | |
hsl(265, 80%, 59%) | |
hsl(265, 100%, 59%) |
#9066c9 Color Usage In CSS
body { color: #9066c9; } p { color: rgb(144, 102, 201); } header { border-bottom:1px solid #9066c9; }