#cd3960 Color
Color Codes | |
---|---|
Hex Code | #cd3960 |
RGB Code | rgb(205, 57, 96) |
HSL Code | hsl(344, 60%, 51%) |
#cd3960 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(205, 57, 96); }
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(344, 60%, 51%); }
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 #cd3960
RGB Code | Hex Code | Preview |
---|---|---|
rgb(205, 57, 96, 10%) | #cd39601a | |
rgb(205, 57, 96, 20%) | #cd396033 | |
rgb(205, 57, 96, 40%) | #cd39604C | |
rgb(205, 57, 96, 60%) | #cd396099 | |
rgb(205, 57, 96, 80%) | #cd3960CC | |
rgb(205, 57, 96, 100%) | #cd3960FF |
Saturated and desaturated colors of #cd3960
HSL Code | Preview |
---|---|
hsl(344, 10%, 51%) | |
hsl(344, 20%, 51%) | |
hsl(344, 40%, 51%) | |
hsl(344, 60%, 51%) | |
hsl(344, 80%, 51%) | |
hsl(344, 100%, 51%) |
#cd3960 Color Usage In CSS
body { color: #cd3960; } p { color: rgb(205, 57, 96); } header { border-bottom:1px solid #cd3960; }