#501642 Color
Color Codes | |
---|---|
Hex Code | #501642 |
RGB Code | rgb(80, 22, 66) |
HSL Code | hsl(314, 57%, 20%) |
#501642 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(80, 22, 66); }
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(314, 57%, 20%); }
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 #501642
RGB Code | Hex Code | Preview |
---|---|---|
rgb(80, 22, 66, 10%) | #5016421a | |
rgb(80, 22, 66, 20%) | #50164233 | |
rgb(80, 22, 66, 40%) | #5016424C | |
rgb(80, 22, 66, 60%) | #50164299 | |
rgb(80, 22, 66, 80%) | #501642CC | |
rgb(80, 22, 66, 100%) | #501642FF |
Saturated and desaturated colors of #501642
HSL Code | Preview |
---|---|
hsl(314, 10%, 20%) | |
hsl(314, 20%, 20%) | |
hsl(314, 40%, 20%) | |
hsl(314, 60%, 20%) | |
hsl(314, 80%, 20%) | |
hsl(314, 100%, 20%) |
#501642 Color Usage In CSS
body { color: #501642; } p { color: rgb(80, 22, 66); } header { border-bottom:1px solid #501642; }