#524383 Color
Color Codes | |
---|---|
Hex Code | #524383 |
RGB Code | rgb(82, 67, 131) |
HSL Code | hsl(254, 32%, 39%) |
#524383 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(82, 67, 131); }
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(254, 32%, 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 #524383
RGB Code | Hex Code | Preview |
---|---|---|
rgb(82, 67, 131, 10%) | #5243831a | |
rgb(82, 67, 131, 20%) | #52438333 | |
rgb(82, 67, 131, 40%) | #5243834C | |
rgb(82, 67, 131, 60%) | #52438399 | |
rgb(82, 67, 131, 80%) | #524383CC | |
rgb(82, 67, 131, 100%) | #524383FF |
Saturated and desaturated colors of #524383
HSL Code | Preview |
---|---|
hsl(254, 10%, 39%) | |
hsl(254, 20%, 39%) | |
hsl(254, 40%, 39%) | |
hsl(254, 60%, 39%) | |
hsl(254, 80%, 39%) | |
hsl(254, 100%, 39%) |
#524383 Color Usage In CSS
body { color: #524383; } p { color: rgb(82, 67, 131); } header { border-bottom:1px solid #524383; }