#760efa Color
Color Codes | |
---|---|
Hex Code | #760efa |
RGB Code | rgb(118, 14, 250) |
HSL Code | hsl(266, 96%, 52%) |
#760efa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(118, 14, 250); }
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(266, 96%, 52%); }
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 #760efa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(118, 14, 250, 10%) | #760efa1a | |
rgb(118, 14, 250, 20%) | #760efa33 | |
rgb(118, 14, 250, 40%) | #760efa4C | |
rgb(118, 14, 250, 60%) | #760efa99 | |
rgb(118, 14, 250, 80%) | #760efaCC | |
rgb(118, 14, 250, 100%) | #760efaFF |
Saturated and desaturated colors of #760efa
HSL Code | Preview |
---|---|
hsl(266, 10%, 52%) | |
hsl(266, 20%, 52%) | |
hsl(266, 40%, 52%) | |
hsl(266, 60%, 52%) | |
hsl(266, 80%, 52%) | |
hsl(266, 100%, 52%) |
#760efa Color Usage In CSS
body { color: #760efa; } p { color: rgb(118, 14, 250); } header { border-bottom:1px solid #760efa; }