#7a65ed Color
Color Codes | |
---|---|
Hex Code | #7a65ed |
RGB Code | rgb(122, 101, 237) |
HSL Code | hsl(249, 79%, 66%) |
#7a65ed Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(122, 101, 237); }
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(249, 79%, 66%); }
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 #7a65ed
RGB Code | Hex Code | Preview |
---|---|---|
rgb(122, 101, 237, 10%) | #7a65ed1a | |
rgb(122, 101, 237, 20%) | #7a65ed33 | |
rgb(122, 101, 237, 40%) | #7a65ed4C | |
rgb(122, 101, 237, 60%) | #7a65ed99 | |
rgb(122, 101, 237, 80%) | #7a65edCC | |
rgb(122, 101, 237, 100%) | #7a65edFF |
Saturated and desaturated colors of #7a65ed
HSL Code | Preview |
---|---|
hsl(249, 10%, 66%) | |
hsl(249, 20%, 66%) | |
hsl(249, 40%, 66%) | |
hsl(249, 60%, 66%) | |
hsl(249, 80%, 66%) | |
hsl(249, 100%, 66%) |
#7a65ed Color Usage In CSS
body { color: #7a65ed; } p { color: rgb(122, 101, 237); } header { border-bottom:1px solid #7a65ed; }