#574087 Color
Color Codes | |
---|---|
Hex Code | #574087 |
RGB Code | rgb(87, 64, 135) |
HSL Code | hsl(259, 36%, 39%) |
#574087 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(87, 64, 135); }
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(259, 36%, 39%); }
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 #574087
RGB Code | Hex Code | Preview |
---|---|---|
rgb(87, 64, 135, 10%) | #5740871a | |
rgb(87, 64, 135, 20%) | #57408733 | |
rgb(87, 64, 135, 40%) | #5740874C | |
rgb(87, 64, 135, 60%) | #57408799 | |
rgb(87, 64, 135, 80%) | #574087CC | |
rgb(87, 64, 135, 100%) | #574087FF |
Saturated and desaturated colors of #574087
HSL Code | Preview |
---|---|
hsl(259, 10%, 39%) | |
hsl(259, 20%, 39%) | |
hsl(259, 40%, 39%) | |
hsl(259, 60%, 39%) | |
hsl(259, 80%, 39%) | |
hsl(259, 100%, 39%) |
#574087 Color Usage In CSS
body { color: #574087; } p { color: rgb(87, 64, 135); } header { border-bottom:1px solid #574087; }