#df296b Color
Color Codes | |
---|---|
Hex Code | #df296b |
RGB Code | rgb(223, 41, 107) |
HSL Code | hsl(338, 74%, 52%) |
#df296b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(223, 41, 107); }
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(338, 74%, 52%); }
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 #df296b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(223, 41, 107, 10%) | #df296b1a | |
rgb(223, 41, 107, 20%) | #df296b33 | |
rgb(223, 41, 107, 40%) | #df296b4C | |
rgb(223, 41, 107, 60%) | #df296b99 | |
rgb(223, 41, 107, 80%) | #df296bCC | |
rgb(223, 41, 107, 100%) | #df296bFF |
Saturated and desaturated colors of #df296b
HSL Code | Preview |
---|---|
hsl(338, 10%, 52%) | |
hsl(338, 20%, 52%) | |
hsl(338, 40%, 52%) | |
hsl(338, 60%, 52%) | |
hsl(338, 80%, 52%) | |
hsl(338, 100%, 52%) |
#df296b Color Usage In CSS
body { color: #df296b; } p { color: rgb(223, 41, 107); } header { border-bottom:1px solid #df296b; }