#58397c Color
Color Codes | |
---|---|
Hex Code | #58397c |
RGB Code | rgb(88, 57, 124) |
HSL Code | hsl(268, 37%, 35%) |
#58397c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(88, 57, 124); }
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(268, 37%, 35%); }
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 #58397c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(88, 57, 124, 10%) | #58397c1a | |
rgb(88, 57, 124, 20%) | #58397c33 | |
rgb(88, 57, 124, 40%) | #58397c4C | |
rgb(88, 57, 124, 60%) | #58397c99 | |
rgb(88, 57, 124, 80%) | #58397cCC | |
rgb(88, 57, 124, 100%) | #58397cFF |
Saturated and desaturated colors of #58397c
HSL Code | Preview |
---|---|
hsl(268, 10%, 35%) | |
hsl(268, 20%, 35%) | |
hsl(268, 40%, 35%) | |
hsl(268, 60%, 35%) | |
hsl(268, 80%, 35%) | |
hsl(268, 100%, 35%) |
#58397c Color Usage In CSS
body { color: #58397c; } p { color: rgb(88, 57, 124); } header { border-bottom:1px solid #58397c; }