#874995 Color
Color Codes | |
---|---|
Hex Code | #874995 |
RGB Code | rgb(135, 73, 149) |
HSL Code | hsl(289, 34%, 44%) |
#874995 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(135, 73, 149); }
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(289, 34%, 44%); }
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 #874995
RGB Code | Hex Code | Preview |
---|---|---|
rgb(135, 73, 149, 10%) | #8749951a | |
rgb(135, 73, 149, 20%) | #87499533 | |
rgb(135, 73, 149, 40%) | #8749954C | |
rgb(135, 73, 149, 60%) | #87499599 | |
rgb(135, 73, 149, 80%) | #874995CC | |
rgb(135, 73, 149, 100%) | #874995FF |
Saturated and desaturated colors of #874995
HSL Code | Preview |
---|---|
hsl(289, 10%, 44%) | |
hsl(289, 20%, 44%) | |
hsl(289, 40%, 44%) | |
hsl(289, 60%, 44%) | |
hsl(289, 80%, 44%) | |
hsl(289, 100%, 44%) |
#874995 Color Usage In CSS
body { color: #874995; } p { color: rgb(135, 73, 149); } header { border-bottom:1px solid #874995; }