#c5436e Color
Color Codes | |
---|---|
Hex Code | #c5436e |
RGB Code | rgb(197, 67, 110) |
HSL Code | hsl(340, 53%, 52%) |
#c5436e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(197, 67, 110); }
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, 53%, 52%); }
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 #c5436e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(197, 67, 110, 10%) | #c5436e1a | |
rgb(197, 67, 110, 20%) | #c5436e33 | |
rgb(197, 67, 110, 40%) | #c5436e4C | |
rgb(197, 67, 110, 60%) | #c5436e99 | |
rgb(197, 67, 110, 80%) | #c5436eCC | |
rgb(197, 67, 110, 100%) | #c5436eFF |
Saturated and desaturated colors of #c5436e
HSL Code | Preview |
---|---|
hsl(340, 10%, 52%) | |
hsl(340, 20%, 52%) | |
hsl(340, 40%, 52%) | |
hsl(340, 60%, 52%) | |
hsl(340, 80%, 52%) | |
hsl(340, 100%, 52%) |
#c5436e Color Usage In CSS
body { color: #c5436e; } p { color: rgb(197, 67, 110); } header { border-bottom:1px solid #c5436e; }