#9768db Color
Color Codes | |
---|---|
Hex Code | #9768db |
RGB Code | rgb(151, 104, 219) |
HSL Code | hsl(265, 61%, 63%) |
#9768db Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(151, 104, 219); }
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, 61%, 63%); }
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 #9768db
RGB Code | Hex Code | Preview |
---|---|---|
rgb(151, 104, 219, 10%) | #9768db1a | |
rgb(151, 104, 219, 20%) | #9768db33 | |
rgb(151, 104, 219, 40%) | #9768db4C | |
rgb(151, 104, 219, 60%) | #9768db99 | |
rgb(151, 104, 219, 80%) | #9768dbCC | |
rgb(151, 104, 219, 100%) | #9768dbFF |
Saturated and desaturated colors of #9768db
HSL Code | Preview |
---|---|
hsl(265, 10%, 63%) | |
hsl(265, 20%, 63%) | |
hsl(265, 40%, 63%) | |
hsl(265, 60%, 63%) | |
hsl(265, 80%, 63%) | |
hsl(265, 100%, 63%) |
#9768db Color Usage In CSS
body { color: #9768db; } p { color: rgb(151, 104, 219); } header { border-bottom:1px solid #9768db; }