#462a4d Color
Color Codes | |
---|---|
Hex Code | #462a4d |
RGB Code | rgb(70, 42, 77) |
HSL Code | hsl(288, 29%, 23%) |
#462a4d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(70, 42, 77); }
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(288, 29%, 23%); }
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 #462a4d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(70, 42, 77, 10%) | #462a4d1a | |
rgb(70, 42, 77, 20%) | #462a4d33 | |
rgb(70, 42, 77, 40%) | #462a4d4C | |
rgb(70, 42, 77, 60%) | #462a4d99 | |
rgb(70, 42, 77, 80%) | #462a4dCC | |
rgb(70, 42, 77, 100%) | #462a4dFF |
Saturated and desaturated colors of #462a4d
HSL Code | Preview |
---|---|
hsl(288, 10%, 23%) | |
hsl(288, 20%, 23%) | |
hsl(288, 40%, 23%) | |
hsl(288, 60%, 23%) | |
hsl(288, 80%, 23%) | |
hsl(288, 100%, 23%) |
#462a4d Color Usage In CSS
body { color: #462a4d; } p { color: rgb(70, 42, 77); } header { border-bottom:1px solid #462a4d; }