#9774ec Color
Color Codes | |
---|---|
Hex Code | #9774ec |
RGB Code | rgb(151, 116, 236) |
HSL Code | hsl(258, 76%, 69%) |
#9774ec Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(151, 116, 236); }
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(258, 76%, 69%); }
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 #9774ec
RGB Code | Hex Code | Preview |
---|---|---|
rgb(151, 116, 236, 10%) | #9774ec1a | |
rgb(151, 116, 236, 20%) | #9774ec33 | |
rgb(151, 116, 236, 40%) | #9774ec4C | |
rgb(151, 116, 236, 60%) | #9774ec99 | |
rgb(151, 116, 236, 80%) | #9774ecCC | |
rgb(151, 116, 236, 100%) | #9774ecFF |
Saturated and desaturated colors of #9774ec
HSL Code | Preview |
---|---|
hsl(258, 10%, 69%) | |
hsl(258, 20%, 69%) | |
hsl(258, 40%, 69%) | |
hsl(258, 60%, 69%) | |
hsl(258, 80%, 69%) | |
hsl(258, 100%, 69%) |
#9774ec Color Usage In CSS
body { color: #9774ec; } p { color: rgb(151, 116, 236); } header { border-bottom:1px solid #9774ec; }