#9c49ee Color
Color Codes | |
---|---|
Hex Code | #9c49ee |
RGB Code | rgb(156, 73, 238) |
HSL Code | hsl(270, 83%, 61%) |
#9c49ee Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(156, 73, 238); }
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(270, 83%, 61%); }
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 #9c49ee
RGB Code | Hex Code | Preview |
---|---|---|
rgb(156, 73, 238, 10%) | #9c49ee1a | |
rgb(156, 73, 238, 20%) | #9c49ee33 | |
rgb(156, 73, 238, 40%) | #9c49ee4C | |
rgb(156, 73, 238, 60%) | #9c49ee99 | |
rgb(156, 73, 238, 80%) | #9c49eeCC | |
rgb(156, 73, 238, 100%) | #9c49eeFF |
Saturated and desaturated colors of #9c49ee
HSL Code | Preview |
---|---|
hsl(270, 10%, 61%) | |
hsl(270, 20%, 61%) | |
hsl(270, 40%, 61%) | |
hsl(270, 60%, 61%) | |
hsl(270, 80%, 61%) | |
hsl(270, 100%, 61%) |
#9c49ee Color Usage In CSS
body { color: #9c49ee; } p { color: rgb(156, 73, 238); } header { border-bottom:1px solid #9c49ee; }