#7a56fe Color
Color Codes | |
---|---|
Hex Code | #7a56fe |
RGB Code | rgb(122, 86, 254) |
HSL Code | hsl(253, 99%, 67%) |
#7a56fe Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(122, 86, 254); }
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(253, 99%, 67%); }
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 #7a56fe
RGB Code | Hex Code | Preview |
---|---|---|
rgb(122, 86, 254, 10%) | #7a56fe1a | |
rgb(122, 86, 254, 20%) | #7a56fe33 | |
rgb(122, 86, 254, 40%) | #7a56fe4C | |
rgb(122, 86, 254, 60%) | #7a56fe99 | |
rgb(122, 86, 254, 80%) | #7a56feCC | |
rgb(122, 86, 254, 100%) | #7a56feFF |
Saturated and desaturated colors of #7a56fe
HSL Code | Preview |
---|---|
hsl(253, 10%, 67%) | |
hsl(253, 20%, 67%) | |
hsl(253, 40%, 67%) | |
hsl(253, 60%, 67%) | |
hsl(253, 80%, 67%) | |
hsl(253, 100%, 67%) |
#7a56fe Color Usage In CSS
body { color: #7a56fe; } p { color: rgb(122, 86, 254); } header { border-bottom:1px solid #7a56fe; }