#860142 Color
Color Codes | |
---|---|
Hex Code | #860142 |
RGB Code | rgb(134, 01, 66) |
HSL Code | hsl(331, 99%, 26%) |
#860142 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(134, 01, 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(331, 99%, 26%); }
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 #860142
RGB Code | Hex Code | Preview |
---|---|---|
rgb(134, 01, 66, 10%) | #8601421a | |
rgb(134, 01, 66, 20%) | #86014233 | |
rgb(134, 01, 66, 40%) | #8601424C | |
rgb(134, 01, 66, 60%) | #86014299 | |
rgb(134, 01, 66, 80%) | #860142CC | |
rgb(134, 01, 66, 100%) | #860142FF |
Saturated and desaturated colors of #860142
HSL Code | Preview |
---|---|
hsl(331, 10%, 26%) | |
hsl(331, 20%, 26%) | |
hsl(331, 40%, 26%) | |
hsl(331, 60%, 26%) | |
hsl(331, 80%, 26%) | |
hsl(331, 100%, 26%) |
#860142 Color Usage In CSS
body { color: #860142; } p { color: rgb(134, 01, 66); } header { border-bottom:1px solid #860142; }