#55078a Color
Color Codes | |
---|---|
Hex Code | #55078a |
RGB Code | rgb(85, 07, 138) |
HSL Code | hsl(276, 90%, 28%) |
#55078a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(85, 07, 138); }
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(276, 90%, 28%); }
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 #55078a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(85, 07, 138, 10%) | #55078a1a | |
rgb(85, 07, 138, 20%) | #55078a33 | |
rgb(85, 07, 138, 40%) | #55078a4C | |
rgb(85, 07, 138, 60%) | #55078a99 | |
rgb(85, 07, 138, 80%) | #55078aCC | |
rgb(85, 07, 138, 100%) | #55078aFF |
Saturated and desaturated colors of #55078a
HSL Code | Preview |
---|---|
hsl(276, 10%, 28%) | |
hsl(276, 20%, 28%) | |
hsl(276, 40%, 28%) | |
hsl(276, 60%, 28%) | |
hsl(276, 80%, 28%) | |
hsl(276, 100%, 28%) |
#55078a Color Usage In CSS
body { color: #55078a; } p { color: rgb(85, 07, 138); } header { border-bottom:1px solid #55078a; }