#7953dc Color
Color Codes | |
---|---|
Hex Code | #7953dc |
RGB Code | rgb(121, 83, 220) |
HSL Code | hsl(257, 66%, 59%) |
#7953dc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(121, 83, 220); }
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(257, 66%, 59%); }
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 #7953dc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(121, 83, 220, 10%) | #7953dc1a | |
rgb(121, 83, 220, 20%) | #7953dc33 | |
rgb(121, 83, 220, 40%) | #7953dc4C | |
rgb(121, 83, 220, 60%) | #7953dc99 | |
rgb(121, 83, 220, 80%) | #7953dcCC | |
rgb(121, 83, 220, 100%) | #7953dcFF |
Saturated and desaturated colors of #7953dc
HSL Code | Preview |
---|---|
hsl(257, 10%, 59%) | |
hsl(257, 20%, 59%) | |
hsl(257, 40%, 59%) | |
hsl(257, 60%, 59%) | |
hsl(257, 80%, 59%) | |
hsl(257, 100%, 59%) |
#7953dc Color Usage In CSS
body { color: #7953dc; } p { color: rgb(121, 83, 220); } header { border-bottom:1px solid #7953dc; }