#cd4955 Color
Color Codes | |
---|---|
Hex Code | #cd4955 |
RGB Code | rgb(205, 73, 85) |
HSL Code | hsl(355, 57%, 55%) |
#cd4955 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(205, 73, 85); }
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(355, 57%, 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 #cd4955
RGB Code | Hex Code | Preview |
---|---|---|
rgb(205, 73, 85, 10%) | #cd49551a | |
rgb(205, 73, 85, 20%) | #cd495533 | |
rgb(205, 73, 85, 40%) | #cd49554C | |
rgb(205, 73, 85, 60%) | #cd495599 | |
rgb(205, 73, 85, 80%) | #cd4955CC | |
rgb(205, 73, 85, 100%) | #cd4955FF |
Saturated and desaturated colors of #cd4955
HSL Code | Preview |
---|---|
hsl(355, 10%, 55%) | |
hsl(355, 20%, 55%) | |
hsl(355, 40%, 55%) | |
hsl(355, 60%, 55%) | |
hsl(355, 80%, 55%) | |
hsl(355, 100%, 55%) |
#cd4955 Color Usage In CSS
body { color: #cd4955; } p { color: rgb(205, 73, 85); } header { border-bottom:1px solid #cd4955; }