#460ada Color
Color Codes | |
---|---|
Hex Code | #460ada |
RGB Code | rgb(70, 10, 218) |
HSL Code | hsl(257, 91%, 45%) |
#460ada Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(70, 10, 218); }
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, 91%, 45%); }
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 #460ada
RGB Code | Hex Code | Preview |
---|---|---|
rgb(70, 10, 218, 10%) | #460ada1a | |
rgb(70, 10, 218, 20%) | #460ada33 | |
rgb(70, 10, 218, 40%) | #460ada4C | |
rgb(70, 10, 218, 60%) | #460ada99 | |
rgb(70, 10, 218, 80%) | #460adaCC | |
rgb(70, 10, 218, 100%) | #460adaFF |
Saturated and desaturated colors of #460ada
HSL Code | Preview |
---|---|
hsl(257, 10%, 45%) | |
hsl(257, 20%, 45%) | |
hsl(257, 40%, 45%) | |
hsl(257, 60%, 45%) | |
hsl(257, 80%, 45%) | |
hsl(257, 100%, 45%) |
#460ada Color Usage In CSS
body { color: #460ada; } p { color: rgb(70, 10, 218); } header { border-bottom:1px solid #460ada; }