#db499a Color
Color Codes | |
---|---|
Hex Code | #db499a |
RGB Code | rgb(219, 73, 154) |
HSL Code | hsl(327, 67%, 57%) |
#db499a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(219, 73, 154); }
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(327, 67%, 57%); }
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 #db499a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(219, 73, 154, 10%) | #db499a1a | |
rgb(219, 73, 154, 20%) | #db499a33 | |
rgb(219, 73, 154, 40%) | #db499a4C | |
rgb(219, 73, 154, 60%) | #db499a99 | |
rgb(219, 73, 154, 80%) | #db499aCC | |
rgb(219, 73, 154, 100%) | #db499aFF |
Saturated and desaturated colors of #db499a
HSL Code | Preview |
---|---|
hsl(327, 10%, 57%) | |
hsl(327, 20%, 57%) | |
hsl(327, 40%, 57%) | |
hsl(327, 60%, 57%) | |
hsl(327, 80%, 57%) | |
hsl(327, 100%, 57%) |
#db499a Color Usage In CSS
body { color: #db499a; } p { color: rgb(219, 73, 154); } header { border-bottom:1px solid #db499a; }