#59259e Color
Color Codes | |
---|---|
Hex Code | #59259e |
RGB Code | rgb(89, 37, 158) |
HSL Code | hsl(266, 62%, 38%) |
#59259e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(89, 37, 158); }
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(266, 62%, 38%); }
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 #59259e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(89, 37, 158, 10%) | #59259e1a | |
rgb(89, 37, 158, 20%) | #59259e33 | |
rgb(89, 37, 158, 40%) | #59259e4C | |
rgb(89, 37, 158, 60%) | #59259e99 | |
rgb(89, 37, 158, 80%) | #59259eCC | |
rgb(89, 37, 158, 100%) | #59259eFF |
Saturated and desaturated colors of #59259e
HSL Code | Preview |
---|---|
hsl(266, 10%, 38%) | |
hsl(266, 20%, 38%) | |
hsl(266, 40%, 38%) | |
hsl(266, 60%, 38%) | |
hsl(266, 80%, 38%) | |
hsl(266, 100%, 38%) |
#59259e Color Usage In CSS
body { color: #59259e; } p { color: rgb(89, 37, 158); } header { border-bottom:1px solid #59259e; }