#db1791 Color
Color Codes | |
---|---|
Hex Code | #db1791 |
RGB Code | rgb(219, 23, 145) |
HSL Code | hsl(323, 81%, 47%) |
#db1791 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(219, 23, 145); }
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(323, 81%, 47%); }
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 #db1791
RGB Code | Hex Code | Preview |
---|---|---|
rgb(219, 23, 145, 10%) | #db17911a | |
rgb(219, 23, 145, 20%) | #db179133 | |
rgb(219, 23, 145, 40%) | #db17914C | |
rgb(219, 23, 145, 60%) | #db179199 | |
rgb(219, 23, 145, 80%) | #db1791CC | |
rgb(219, 23, 145, 100%) | #db1791FF |
Saturated and desaturated colors of #db1791
HSL Code | Preview |
---|---|
hsl(323, 10%, 47%) | |
hsl(323, 20%, 47%) | |
hsl(323, 40%, 47%) | |
hsl(323, 60%, 47%) | |
hsl(323, 80%, 47%) | |
hsl(323, 100%, 47%) |
#db1791 Color Usage In CSS
body { color: #db1791; } p { color: rgb(219, 23, 145); } header { border-bottom:1px solid #db1791; }