#591ce5 Color
Color Codes | |
---|---|
Hex Code | #591ce5 |
RGB Code | rgb(89, 28, 229) |
HSL Code | hsl(258, 79%, 50%) |
#591ce5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(89, 28, 229); }
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(258, 79%, 50%); }
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 #591ce5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(89, 28, 229, 10%) | #591ce51a | |
rgb(89, 28, 229, 20%) | #591ce533 | |
rgb(89, 28, 229, 40%) | #591ce54C | |
rgb(89, 28, 229, 60%) | #591ce599 | |
rgb(89, 28, 229, 80%) | #591ce5CC | |
rgb(89, 28, 229, 100%) | #591ce5FF |
Saturated and desaturated colors of #591ce5
HSL Code | Preview |
---|---|
hsl(258, 10%, 50%) | |
hsl(258, 20%, 50%) | |
hsl(258, 40%, 50%) | |
hsl(258, 60%, 50%) | |
hsl(258, 80%, 50%) | |
hsl(258, 100%, 50%) |
#591ce5 Color Usage In CSS
body { color: #591ce5; } p { color: rgb(89, 28, 229); } header { border-bottom:1px solid #591ce5; }