#87137c Color
Color Codes | |
---|---|
Hex Code | #87137c |
RGB Code | rgb(135, 19, 124) |
HSL Code | hsl(306, 75%, 30%) |
#87137c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(135, 19, 124); }
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(306, 75%, 30%); }
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 #87137c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(135, 19, 124, 10%) | #87137c1a | |
rgb(135, 19, 124, 20%) | #87137c33 | |
rgb(135, 19, 124, 40%) | #87137c4C | |
rgb(135, 19, 124, 60%) | #87137c99 | |
rgb(135, 19, 124, 80%) | #87137cCC | |
rgb(135, 19, 124, 100%) | #87137cFF |
Saturated and desaturated colors of #87137c
HSL Code | Preview |
---|---|
hsl(306, 10%, 30%) | |
hsl(306, 20%, 30%) | |
hsl(306, 40%, 30%) | |
hsl(306, 60%, 30%) | |
hsl(306, 80%, 30%) | |
hsl(306, 100%, 30%) |
#87137c Color Usage In CSS
body { color: #87137c; } p { color: rgb(135, 19, 124); } header { border-bottom:1px solid #87137c; }