#c5557b Color
Color Codes | |
---|---|
Hex Code | #c5557b |
RGB Code | rgb(197, 85, 123) |
HSL Code | hsl(340, 49%, 55%) |
#c5557b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(197, 85, 123); }
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(340, 49%, 55%); }
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 #c5557b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(197, 85, 123, 10%) | #c5557b1a | |
rgb(197, 85, 123, 20%) | #c5557b33 | |
rgb(197, 85, 123, 40%) | #c5557b4C | |
rgb(197, 85, 123, 60%) | #c5557b99 | |
rgb(197, 85, 123, 80%) | #c5557bCC | |
rgb(197, 85, 123, 100%) | #c5557bFF |
Saturated and desaturated colors of #c5557b
HSL Code | Preview |
---|---|
hsl(340, 10%, 55%) | |
hsl(340, 20%, 55%) | |
hsl(340, 40%, 55%) | |
hsl(340, 60%, 55%) | |
hsl(340, 80%, 55%) | |
hsl(340, 100%, 55%) |
#c5557b Color Usage In CSS
body { color: #c5557b; } p { color: rgb(197, 85, 123); } header { border-bottom:1px solid #c5557b; }