#911af6 Color
Color Codes | |
---|---|
Hex Code | #911af6 |
RGB Code | rgb(145, 26, 246) |
HSL Code | hsl(272, 92%, 53%) |
#911af6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(145, 26, 246); }
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(272, 92%, 53%); }
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 #911af6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(145, 26, 246, 10%) | #911af61a | |
rgb(145, 26, 246, 20%) | #911af633 | |
rgb(145, 26, 246, 40%) | #911af64C | |
rgb(145, 26, 246, 60%) | #911af699 | |
rgb(145, 26, 246, 80%) | #911af6CC | |
rgb(145, 26, 246, 100%) | #911af6FF |
Saturated and desaturated colors of #911af6
HSL Code | Preview |
---|---|
hsl(272, 10%, 53%) | |
hsl(272, 20%, 53%) | |
hsl(272, 40%, 53%) | |
hsl(272, 60%, 53%) | |
hsl(272, 80%, 53%) | |
hsl(272, 100%, 53%) |
#911af6 Color Usage In CSS
body { color: #911af6; } p { color: rgb(145, 26, 246); } header { border-bottom:1px solid #911af6; }