#db357b Color
Color Codes | |
---|---|
Hex Code | #db357b |
RGB Code | rgb(219, 53, 123) |
HSL Code | hsl(335, 70%, 53%) |
#db357b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(219, 53, 123); }
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(335, 70%, 53%); }
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 #db357b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(219, 53, 123, 10%) | #db357b1a | |
rgb(219, 53, 123, 20%) | #db357b33 | |
rgb(219, 53, 123, 40%) | #db357b4C | |
rgb(219, 53, 123, 60%) | #db357b99 | |
rgb(219, 53, 123, 80%) | #db357bCC | |
rgb(219, 53, 123, 100%) | #db357bFF |
Saturated and desaturated colors of #db357b
HSL Code | Preview |
---|---|
hsl(335, 10%, 53%) | |
hsl(335, 20%, 53%) | |
hsl(335, 40%, 53%) | |
hsl(335, 60%, 53%) | |
hsl(335, 80%, 53%) | |
hsl(335, 100%, 53%) |
#db357b Color Usage In CSS
body { color: #db357b; } p { color: rgb(219, 53, 123); } header { border-bottom:1px solid #db357b; }