#a54f85 Color
Color Codes | |
---|---|
Hex Code | #a54f85 |
RGB Code | rgb(165, 79, 133) |
HSL Code | hsl(322, 35%, 48%) |
#a54f85 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(165, 79, 133); }
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(322, 35%, 48%); }
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 #a54f85
RGB Code | Hex Code | Preview |
---|---|---|
rgb(165, 79, 133, 10%) | #a54f851a | |
rgb(165, 79, 133, 20%) | #a54f8533 | |
rgb(165, 79, 133, 40%) | #a54f854C | |
rgb(165, 79, 133, 60%) | #a54f8599 | |
rgb(165, 79, 133, 80%) | #a54f85CC | |
rgb(165, 79, 133, 100%) | #a54f85FF |
Saturated and desaturated colors of #a54f85
HSL Code | Preview |
---|---|
hsl(322, 10%, 48%) | |
hsl(322, 20%, 48%) | |
hsl(322, 40%, 48%) | |
hsl(322, 60%, 48%) | |
hsl(322, 80%, 48%) | |
hsl(322, 100%, 48%) |
#a54f85 Color Usage In CSS
body { color: #a54f85; } p { color: rgb(165, 79, 133); } header { border-bottom:1px solid #a54f85; }