#895087 Color
Color Codes | |
---|---|
Hex Code | #895087 |
RGB Code | rgb(137, 80, 135) |
HSL Code | hsl(302, 26%, 43%) |
#895087 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(137, 80, 135); }
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(302, 26%, 43%); }
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 #895087
RGB Code | Hex Code | Preview |
---|---|---|
rgb(137, 80, 135, 10%) | #8950871a | |
rgb(137, 80, 135, 20%) | #89508733 | |
rgb(137, 80, 135, 40%) | #8950874C | |
rgb(137, 80, 135, 60%) | #89508799 | |
rgb(137, 80, 135, 80%) | #895087CC | |
rgb(137, 80, 135, 100%) | #895087FF |
Saturated and desaturated colors of #895087
HSL Code | Preview |
---|---|
hsl(302, 10%, 43%) | |
hsl(302, 20%, 43%) | |
hsl(302, 40%, 43%) | |
hsl(302, 60%, 43%) | |
hsl(302, 80%, 43%) | |
hsl(302, 100%, 43%) |
#895087 Color Usage In CSS
body { color: #895087; } p { color: rgb(137, 80, 135); } header { border-bottom:1px solid #895087; }