#db5afc Color
Color Codes | |
---|---|
Hex Code | #db5afc |
RGB Code | rgb(219, 90, 252) |
HSL Code | hsl(288, 96%, 67%) |
#db5afc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(219, 90, 252); }
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, 96%, 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 #db5afc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(219, 90, 252, 10%) | #db5afc1a | |
rgb(219, 90, 252, 20%) | #db5afc33 | |
rgb(219, 90, 252, 40%) | #db5afc4C | |
rgb(219, 90, 252, 60%) | #db5afc99 | |
rgb(219, 90, 252, 80%) | #db5afcCC | |
rgb(219, 90, 252, 100%) | #db5afcFF |
Saturated and desaturated colors of #db5afc
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%) |
#db5afc Color Usage In CSS
body { color: #db5afc; } p { color: rgb(219, 90, 252); } header { border-bottom:1px solid #db5afc; }