#9660b1 Color
Color Codes | |
---|---|
Hex Code | #9660b1 |
RGB Code | rgb(150, 96, 177) |
HSL Code | hsl(280, 34%, 54%) |
#9660b1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(150, 96, 177); }
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(280, 34%, 54%); }
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 #9660b1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(150, 96, 177, 10%) | #9660b11a | |
rgb(150, 96, 177, 20%) | #9660b133 | |
rgb(150, 96, 177, 40%) | #9660b14C | |
rgb(150, 96, 177, 60%) | #9660b199 | |
rgb(150, 96, 177, 80%) | #9660b1CC | |
rgb(150, 96, 177, 100%) | #9660b1FF |
Saturated and desaturated colors of #9660b1
HSL Code | Preview |
---|---|
hsl(280, 10%, 54%) | |
hsl(280, 20%, 54%) | |
hsl(280, 40%, 54%) | |
hsl(280, 60%, 54%) | |
hsl(280, 80%, 54%) | |
hsl(280, 100%, 54%) |
#9660b1 Color Usage In CSS
body { color: #9660b1; } p { color: rgb(150, 96, 177); } header { border-bottom:1px solid #9660b1; }