#db59fd Color
Color Codes | |
---|---|
Hex Code | #db59fd |
RGB Code | rgb(219, 89, 253) |
HSL Code | hsl(288, 98%, 67%) |
#db59fd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(219, 89, 253); }
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(288, 98%, 67%); }
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 #db59fd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(219, 89, 253, 10%) | #db59fd1a | |
rgb(219, 89, 253, 20%) | #db59fd33 | |
rgb(219, 89, 253, 40%) | #db59fd4C | |
rgb(219, 89, 253, 60%) | #db59fd99 | |
rgb(219, 89, 253, 80%) | #db59fdCC | |
rgb(219, 89, 253, 100%) | #db59fdFF |
Saturated and desaturated colors of #db59fd
HSL Code | Preview |
---|---|
hsl(288, 10%, 67%) | |
hsl(288, 20%, 67%) | |
hsl(288, 40%, 67%) | |
hsl(288, 60%, 67%) | |
hsl(288, 80%, 67%) | |
hsl(288, 100%, 67%) |
#db59fd Color Usage In CSS
body { color: #db59fd; } p { color: rgb(219, 89, 253); } header { border-bottom:1px solid #db59fd; }