#9685cd Color
Color Codes | |
---|---|
Hex Code | #9685cd |
RGB Code | rgb(150, 133, 205) |
HSL Code | hsl(254, 42%, 66%) |
#9685cd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(150, 133, 205); }
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(254, 42%, 66%); }
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 #9685cd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(150, 133, 205, 10%) | #9685cd1a | |
rgb(150, 133, 205, 20%) | #9685cd33 | |
rgb(150, 133, 205, 40%) | #9685cd4C | |
rgb(150, 133, 205, 60%) | #9685cd99 | |
rgb(150, 133, 205, 80%) | #9685cdCC | |
rgb(150, 133, 205, 100%) | #9685cdFF |
Saturated and desaturated colors of #9685cd
HSL Code | Preview |
---|---|
hsl(254, 10%, 66%) | |
hsl(254, 20%, 66%) | |
hsl(254, 40%, 66%) | |
hsl(254, 60%, 66%) | |
hsl(254, 80%, 66%) | |
hsl(254, 100%, 66%) |
#9685cd Color Usage In CSS
body { color: #9685cd; } p { color: rgb(150, 133, 205); } header { border-bottom:1px solid #9685cd; }