#532ab1 Color
Color Codes | |
---|---|
Hex Code | #532ab1 |
RGB Code | rgb(83, 42, 177) |
HSL Code | hsl(258, 62%, 43%) |
#532ab1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(83, 42, 177); }
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, 62%, 43%); }
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 #532ab1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(83, 42, 177, 10%) | #532ab11a | |
rgb(83, 42, 177, 20%) | #532ab133 | |
rgb(83, 42, 177, 40%) | #532ab14C | |
rgb(83, 42, 177, 60%) | #532ab199 | |
rgb(83, 42, 177, 80%) | #532ab1CC | |
rgb(83, 42, 177, 100%) | #532ab1FF |
Saturated and desaturated colors of #532ab1
HSL Code | Preview |
---|---|
hsl(258, 10%, 43%) | |
hsl(258, 20%, 43%) | |
hsl(258, 40%, 43%) | |
hsl(258, 60%, 43%) | |
hsl(258, 80%, 43%) | |
hsl(258, 100%, 43%) |
#532ab1 Color Usage In CSS
body { color: #532ab1; } p { color: rgb(83, 42, 177); } header { border-bottom:1px solid #532ab1; }