#dc56a9 Color
Color Codes | |
---|---|
Hex Code | #dc56a9 |
RGB Code | rgb(220, 86, 169) |
HSL Code | hsl(323, 66%, 60%) |
#dc56a9 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(220, 86, 169); }
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(323, 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 #dc56a9
RGB Code | Hex Code | Preview |
---|---|---|
rgb(220, 86, 169, 10%) | #dc56a91a | |
rgb(220, 86, 169, 20%) | #dc56a933 | |
rgb(220, 86, 169, 40%) | #dc56a94C | |
rgb(220, 86, 169, 60%) | #dc56a999 | |
rgb(220, 86, 169, 80%) | #dc56a9CC | |
rgb(220, 86, 169, 100%) | #dc56a9FF |
Saturated and desaturated colors of #dc56a9
HSL Code | Preview |
---|---|
hsl(323, 10%, 60%) | |
hsl(323, 20%, 60%) | |
hsl(323, 40%, 60%) | |
hsl(323, 60%, 60%) | |
hsl(323, 80%, 60%) | |
hsl(323, 100%, 60%) |
#dc56a9 Color Usage In CSS
body { color: #dc56a9; } p { color: rgb(220, 86, 169); } header { border-bottom:1px solid #dc56a9; }