#dc0778 Color
Color Codes | |
---|---|
Hex Code | #dc0778 |
RGB Code | rgb(220, 07, 120) |
HSL Code | hsl(328, 94%, 45%) |
#dc0778 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(220, 07, 120); }
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(328, 94%, 45%); }
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 #dc0778
RGB Code | Hex Code | Preview |
---|---|---|
rgb(220, 07, 120, 10%) | #dc07781a | |
rgb(220, 07, 120, 20%) | #dc077833 | |
rgb(220, 07, 120, 40%) | #dc07784C | |
rgb(220, 07, 120, 60%) | #dc077899 | |
rgb(220, 07, 120, 80%) | #dc0778CC | |
rgb(220, 07, 120, 100%) | #dc0778FF |
Saturated and desaturated colors of #dc0778
HSL Code | Preview |
---|---|
hsl(328, 10%, 45%) | |
hsl(328, 20%, 45%) | |
hsl(328, 40%, 45%) | |
hsl(328, 60%, 45%) | |
hsl(328, 80%, 45%) | |
hsl(328, 100%, 45%) |
#dc0778 Color Usage In CSS
body { color: #dc0778; } p { color: rgb(220, 07, 120); } header { border-bottom:1px solid #dc0778; }