#913f97 Color
Color Codes | |
---|---|
Hex Code | #913f97 |
RGB Code | rgb(145, 63, 151) |
HSL Code | hsl(296, 41%, 42%) |
#913f97 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(145, 63, 151); }
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(296, 41%, 42%); }
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 #913f97
RGB Code | Hex Code | Preview |
---|---|---|
rgb(145, 63, 151, 10%) | #913f971a | |
rgb(145, 63, 151, 20%) | #913f9733 | |
rgb(145, 63, 151, 40%) | #913f974C | |
rgb(145, 63, 151, 60%) | #913f9799 | |
rgb(145, 63, 151, 80%) | #913f97CC | |
rgb(145, 63, 151, 100%) | #913f97FF |
Saturated and desaturated colors of #913f97
HSL Code | Preview |
---|---|
hsl(296, 10%, 42%) | |
hsl(296, 20%, 42%) | |
hsl(296, 40%, 42%) | |
hsl(296, 60%, 42%) | |
hsl(296, 80%, 42%) | |
hsl(296, 100%, 42%) |
#913f97 Color Usage In CSS
body { color: #913f97; } p { color: rgb(145, 63, 151); } header { border-bottom:1px solid #913f97; }