#db0acf Color
Color Codes | |
---|---|
Hex Code | #db0acf |
RGB Code | rgb(219, 10, 207) |
HSL Code | hsl(303, 91%, 45%) |
#db0acf Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(219, 10, 207); }
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(303, 91%, 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 #db0acf
RGB Code | Hex Code | Preview |
---|---|---|
rgb(219, 10, 207, 10%) | #db0acf1a | |
rgb(219, 10, 207, 20%) | #db0acf33 | |
rgb(219, 10, 207, 40%) | #db0acf4C | |
rgb(219, 10, 207, 60%) | #db0acf99 | |
rgb(219, 10, 207, 80%) | #db0acfCC | |
rgb(219, 10, 207, 100%) | #db0acfFF |
Saturated and desaturated colors of #db0acf
HSL Code | Preview |
---|---|
hsl(303, 10%, 45%) | |
hsl(303, 20%, 45%) | |
hsl(303, 40%, 45%) | |
hsl(303, 60%, 45%) | |
hsl(303, 80%, 45%) | |
hsl(303, 100%, 45%) |
#db0acf Color Usage In CSS
body { color: #db0acf; } p { color: rgb(219, 10, 207); } header { border-bottom:1px solid #db0acf; }