#9773c8 Color
Color Codes | |
---|---|
Hex Code | #9773c8 |
RGB Code | rgb(151, 115, 200) |
HSL Code | hsl(265, 44%, 62%) |
#9773c8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(151, 115, 200); }
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, 44%, 62%); }
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 #9773c8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(151, 115, 200, 10%) | #9773c81a | |
rgb(151, 115, 200, 20%) | #9773c833 | |
rgb(151, 115, 200, 40%) | #9773c84C | |
rgb(151, 115, 200, 60%) | #9773c899 | |
rgb(151, 115, 200, 80%) | #9773c8CC | |
rgb(151, 115, 200, 100%) | #9773c8FF |
Saturated and desaturated colors of #9773c8
HSL Code | Preview |
---|---|
hsl(265, 10%, 62%) | |
hsl(265, 20%, 62%) | |
hsl(265, 40%, 62%) | |
hsl(265, 60%, 62%) | |
hsl(265, 80%, 62%) | |
hsl(265, 100%, 62%) |
#9773c8 Color Usage In CSS
body { color: #9773c8; } p { color: rgb(151, 115, 200); } header { border-bottom:1px solid #9773c8; }