#928af3 Color
Color Codes | |
---|---|
Hex Code | #928af3 |
RGB Code | rgb(146, 138, 243) |
HSL Code | hsl(245, 81%, 75%) |
#928af3 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(146, 138, 243); }
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(245, 81%, 75%); }
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 #928af3
RGB Code | Hex Code | Preview |
---|---|---|
rgb(146, 138, 243, 10%) | #928af31a | |
rgb(146, 138, 243, 20%) | #928af333 | |
rgb(146, 138, 243, 40%) | #928af34C | |
rgb(146, 138, 243, 60%) | #928af399 | |
rgb(146, 138, 243, 80%) | #928af3CC | |
rgb(146, 138, 243, 100%) | #928af3FF |
Saturated and desaturated colors of #928af3
HSL Code | Preview |
---|---|
hsl(245, 10%, 75%) | |
hsl(245, 20%, 75%) | |
hsl(245, 40%, 75%) | |
hsl(245, 60%, 75%) | |
hsl(245, 80%, 75%) | |
hsl(245, 100%, 75%) |
#928af3 Color Usage In CSS
body { color: #928af3; } p { color: rgb(146, 138, 243); } header { border-bottom:1px solid #928af3; }