#a54470 Color
Color Codes | |
---|---|
Hex Code | #a54470 |
RGB Code | rgb(165, 68, 112) |
HSL Code | hsl(333, 42%, 46%) |
#a54470 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(165, 68, 112); }
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(333, 42%, 46%); }
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 #a54470
RGB Code | Hex Code | Preview |
---|---|---|
rgb(165, 68, 112, 10%) | #a544701a | |
rgb(165, 68, 112, 20%) | #a5447033 | |
rgb(165, 68, 112, 40%) | #a544704C | |
rgb(165, 68, 112, 60%) | #a5447099 | |
rgb(165, 68, 112, 80%) | #a54470CC | |
rgb(165, 68, 112, 100%) | #a54470FF |
Saturated and desaturated colors of #a54470
HSL Code | Preview |
---|---|
hsl(333, 10%, 46%) | |
hsl(333, 20%, 46%) | |
hsl(333, 40%, 46%) | |
hsl(333, 60%, 46%) | |
hsl(333, 80%, 46%) | |
hsl(333, 100%, 46%) |
#a54470 Color Usage In CSS
body { color: #a54470; } p { color: rgb(165, 68, 112); } header { border-bottom:1px solid #a54470; }