#df0780 Color
Color Codes | |
---|---|
Hex Code | #df0780 |
RGB Code | rgb(223, 07, 128) |
HSL Code | hsl(326, 94%, 45%) |
#df0780 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(223, 07, 128); }
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(326, 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 #df0780
RGB Code | Hex Code | Preview |
---|---|---|
rgb(223, 07, 128, 10%) | #df07801a | |
rgb(223, 07, 128, 20%) | #df078033 | |
rgb(223, 07, 128, 40%) | #df07804C | |
rgb(223, 07, 128, 60%) | #df078099 | |
rgb(223, 07, 128, 80%) | #df0780CC | |
rgb(223, 07, 128, 100%) | #df0780FF |
Saturated and desaturated colors of #df0780
HSL Code | Preview |
---|---|
hsl(326, 10%, 45%) | |
hsl(326, 20%, 45%) | |
hsl(326, 40%, 45%) | |
hsl(326, 60%, 45%) | |
hsl(326, 80%, 45%) | |
hsl(326, 100%, 45%) |
#df0780 Color Usage In CSS
body { color: #df0780; } p { color: rgb(223, 07, 128); } header { border-bottom:1px solid #df0780; }