#dd0971 Color
Color Codes | |
---|---|
Hex Code | #dd0971 |
RGB Code | rgb(221, 09, 113) |
HSL Code | hsl(331, 92%, 45%) |
#dd0971 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(221, 09, 113); }
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(331, 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 #dd0971
RGB Code | Hex Code | Preview |
---|---|---|
rgb(221, 09, 113, 10%) | #dd09711a | |
rgb(221, 09, 113, 20%) | #dd097133 | |
rgb(221, 09, 113, 40%) | #dd09714C | |
rgb(221, 09, 113, 60%) | #dd097199 | |
rgb(221, 09, 113, 80%) | #dd0971CC | |
rgb(221, 09, 113, 100%) | #dd0971FF |
Saturated and desaturated colors of #dd0971
HSL Code | Preview |
---|---|
hsl(331, 10%, 45%) | |
hsl(331, 20%, 45%) | |
hsl(331, 40%, 45%) | |
hsl(331, 60%, 45%) | |
hsl(331, 80%, 45%) | |
hsl(331, 100%, 45%) |
#dd0971 Color Usage In CSS
body { color: #dd0971; } p { color: rgb(221, 09, 113); } header { border-bottom:1px solid #dd0971; }