#552cca Color
Color Codes | |
---|---|
Hex Code | #552cca |
RGB Code | rgb(85, 44, 202) |
HSL Code | hsl(256, 64%, 48%) |
#552cca Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(85, 44, 202); }
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(256, 64%, 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 #552cca
RGB Code | Hex Code | Preview |
---|---|---|
rgb(85, 44, 202, 10%) | #552cca1a | |
rgb(85, 44, 202, 20%) | #552cca33 | |
rgb(85, 44, 202, 40%) | #552cca4C | |
rgb(85, 44, 202, 60%) | #552cca99 | |
rgb(85, 44, 202, 80%) | #552ccaCC | |
rgb(85, 44, 202, 100%) | #552ccaFF |
Saturated and desaturated colors of #552cca
HSL Code | Preview |
---|---|
hsl(256, 10%, 48%) | |
hsl(256, 20%, 48%) | |
hsl(256, 40%, 48%) | |
hsl(256, 60%, 48%) | |
hsl(256, 80%, 48%) | |
hsl(256, 100%, 48%) |
#552cca Color Usage In CSS
body { color: #552cca; } p { color: rgb(85, 44, 202); } header { border-bottom:1px solid #552cca; }