#421b77 Color
Color Codes | |
---|---|
Hex Code | #421b77 |
RGB Code | rgb(66, 27, 119) |
HSL Code | hsl(265, 63%, 29%) |
#421b77 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(66, 27, 119); }
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(265, 63%, 29%); }
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 #421b77
RGB Code | Hex Code | Preview |
---|---|---|
rgb(66, 27, 119, 10%) | #421b771a | |
rgb(66, 27, 119, 20%) | #421b7733 | |
rgb(66, 27, 119, 40%) | #421b774C | |
rgb(66, 27, 119, 60%) | #421b7799 | |
rgb(66, 27, 119, 80%) | #421b77CC | |
rgb(66, 27, 119, 100%) | #421b77FF |
Saturated and desaturated colors of #421b77
HSL Code | Preview |
---|---|
hsl(265, 10%, 29%) | |
hsl(265, 20%, 29%) | |
hsl(265, 40%, 29%) | |
hsl(265, 60%, 29%) | |
hsl(265, 80%, 29%) | |
hsl(265, 100%, 29%) |
#421b77 Color Usage In CSS
body { color: #421b77; } p { color: rgb(66, 27, 119); } header { border-bottom:1px solid #421b77; }