#945159 Color
Color Codes | |
---|---|
Hex Code | #945159 |
RGB Code | rgb(148, 81, 89) |
HSL Code | hsl(353, 29%, 45%) |
#945159 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(148, 81, 89); }
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(353, 29%, 45%); }
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 #945159
RGB Code | Hex Code | Preview |
---|---|---|
rgb(148, 81, 89, 10%) | #9451591a | |
rgb(148, 81, 89, 20%) | #94515933 | |
rgb(148, 81, 89, 40%) | #9451594C | |
rgb(148, 81, 89, 60%) | #94515999 | |
rgb(148, 81, 89, 80%) | #945159CC | |
rgb(148, 81, 89, 100%) | #945159FF |
Saturated and desaturated colors of #945159
HSL Code | Preview |
---|---|
hsl(353, 10%, 45%) | |
hsl(353, 20%, 45%) | |
hsl(353, 40%, 45%) | |
hsl(353, 60%, 45%) | |
hsl(353, 80%, 45%) | |
hsl(353, 100%, 45%) |
#945159 Color Usage In CSS
body { color: #945159; } p { color: rgb(148, 81, 89); } header { border-bottom:1px solid #945159; }