#9297f2 Color
Color Codes | |
---|---|
Hex Code | #9297f2 |
RGB Code | rgb(146, 151, 242) |
HSL Code | hsl(237, 79%, 76%) |
#9297f2 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(146, 151, 242); }
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(237, 79%, 76%); }
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 #9297f2
RGB Code | Hex Code | Preview |
---|---|---|
rgb(146, 151, 242, 10%) | #9297f21a | |
rgb(146, 151, 242, 20%) | #9297f233 | |
rgb(146, 151, 242, 40%) | #9297f24C | |
rgb(146, 151, 242, 60%) | #9297f299 | |
rgb(146, 151, 242, 80%) | #9297f2CC | |
rgb(146, 151, 242, 100%) | #9297f2FF |
Saturated and desaturated colors of #9297f2
HSL Code | Preview |
---|---|
hsl(237, 10%, 76%) | |
hsl(237, 20%, 76%) | |
hsl(237, 40%, 76%) | |
hsl(237, 60%, 76%) | |
hsl(237, 80%, 76%) | |
hsl(237, 100%, 76%) |
#9297f2 Color Usage In CSS
body { color: #9297f2; } p { color: rgb(146, 151, 242); } header { border-bottom:1px solid #9297f2; }