#862e7a Color
Color Codes | |
---|---|
Hex Code | #862e7a |
RGB Code | rgb(134, 46, 122) |
HSL Code | hsl(308, 49%, 35%) |
#862e7a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(134, 46, 122); }
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(308, 49%, 35%); }
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 #862e7a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(134, 46, 122, 10%) | #862e7a1a | |
rgb(134, 46, 122, 20%) | #862e7a33 | |
rgb(134, 46, 122, 40%) | #862e7a4C | |
rgb(134, 46, 122, 60%) | #862e7a99 | |
rgb(134, 46, 122, 80%) | #862e7aCC | |
rgb(134, 46, 122, 100%) | #862e7aFF |
Saturated and desaturated colors of #862e7a
HSL Code | Preview |
---|---|
hsl(308, 10%, 35%) | |
hsl(308, 20%, 35%) | |
hsl(308, 40%, 35%) | |
hsl(308, 60%, 35%) | |
hsl(308, 80%, 35%) | |
hsl(308, 100%, 35%) |
#862e7a Color Usage In CSS
body { color: #862e7a; } p { color: rgb(134, 46, 122); } header { border-bottom:1px solid #862e7a; }