#dc0988 Color
Color Codes | |
---|---|
Hex Code | #dc0988 |
RGB Code | rgb(220, 09, 136) |
HSL Code | hsl(324, 92%, 45%) |
#dc0988 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(220, 09, 136); }
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(324, 92%, 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 #dc0988
RGB Code | Hex Code | Preview |
---|---|---|
rgb(220, 09, 136, 10%) | #dc09881a | |
rgb(220, 09, 136, 20%) | #dc098833 | |
rgb(220, 09, 136, 40%) | #dc09884C | |
rgb(220, 09, 136, 60%) | #dc098899 | |
rgb(220, 09, 136, 80%) | #dc0988CC | |
rgb(220, 09, 136, 100%) | #dc0988FF |
Saturated and desaturated colors of #dc0988
HSL Code | Preview |
---|---|
hsl(324, 10%, 45%) | |
hsl(324, 20%, 45%) | |
hsl(324, 40%, 45%) | |
hsl(324, 60%, 45%) | |
hsl(324, 80%, 45%) | |
hsl(324, 100%, 45%) |
#dc0988 Color Usage In CSS
body { color: #dc0988; } p { color: rgb(220, 09, 136); } header { border-bottom:1px solid #dc0988; }