#534cab Color
Color Codes | |
---|---|
Hex Code | #534cab |
RGB Code | rgb(83, 76, 171) |
HSL Code | hsl(244, 38%, 48%) |
#534cab Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(83, 76, 171); }
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(244, 38%, 48%); }
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 #534cab
RGB Code | Hex Code | Preview |
---|---|---|
rgb(83, 76, 171, 10%) | #534cab1a | |
rgb(83, 76, 171, 20%) | #534cab33 | |
rgb(83, 76, 171, 40%) | #534cab4C | |
rgb(83, 76, 171, 60%) | #534cab99 | |
rgb(83, 76, 171, 80%) | #534cabCC | |
rgb(83, 76, 171, 100%) | #534cabFF |
Saturated and desaturated colors of #534cab
HSL Code | Preview |
---|---|
hsl(244, 10%, 48%) | |
hsl(244, 20%, 48%) | |
hsl(244, 40%, 48%) | |
hsl(244, 60%, 48%) | |
hsl(244, 80%, 48%) | |
hsl(244, 100%, 48%) |
#534cab Color Usage In CSS
body { color: #534cab; } p { color: rgb(83, 76, 171); } header { border-bottom:1px solid #534cab; }