#422072 Color
Color Codes | |
---|---|
Hex Code | #422072 |
RGB Code | rgb(66, 32, 114) |
HSL Code | hsl(265, 56%, 29%) |
#422072 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(66, 32, 114); }
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, 56%, 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 #422072
RGB Code | Hex Code | Preview |
---|---|---|
rgb(66, 32, 114, 10%) | #4220721a | |
rgb(66, 32, 114, 20%) | #42207233 | |
rgb(66, 32, 114, 40%) | #4220724C | |
rgb(66, 32, 114, 60%) | #42207299 | |
rgb(66, 32, 114, 80%) | #422072CC | |
rgb(66, 32, 114, 100%) | #422072FF |
Saturated and desaturated colors of #422072
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%) |
#422072 Color Usage In CSS
body { color: #422072; } p { color: rgb(66, 32, 114); } header { border-bottom:1px solid #422072; }