#dc578a Color
Color Codes | |
---|---|
Hex Code | #dc578a |
RGB Code | rgb(220, 87, 138) |
HSL Code | hsl(337, 66%, 60%) |
#dc578a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(220, 87, 138); }
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(337, 66%, 60%); }
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 #dc578a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(220, 87, 138, 10%) | #dc578a1a | |
rgb(220, 87, 138, 20%) | #dc578a33 | |
rgb(220, 87, 138, 40%) | #dc578a4C | |
rgb(220, 87, 138, 60%) | #dc578a99 | |
rgb(220, 87, 138, 80%) | #dc578aCC | |
rgb(220, 87, 138, 100%) | #dc578aFF |
Saturated and desaturated colors of #dc578a
HSL Code | Preview |
---|---|
hsl(337, 10%, 60%) | |
hsl(337, 20%, 60%) | |
hsl(337, 40%, 60%) | |
hsl(337, 60%, 60%) | |
hsl(337, 80%, 60%) | |
hsl(337, 100%, 60%) |
#dc578a Color Usage In CSS
body { color: #dc578a; } p { color: rgb(220, 87, 138); } header { border-bottom:1px solid #dc578a; }