#da1796 Color
Color Codes | |
---|---|
Hex Code | #da1796 |
RGB Code | rgb(218, 23, 150) |
HSL Code | hsl(321, 81%, 47%) |
#da1796 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(218, 23, 150); }
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(321, 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 #da1796
RGB Code | Hex Code | Preview |
---|---|---|
rgb(218, 23, 150, 10%) | #da17961a | |
rgb(218, 23, 150, 20%) | #da179633 | |
rgb(218, 23, 150, 40%) | #da17964C | |
rgb(218, 23, 150, 60%) | #da179699 | |
rgb(218, 23, 150, 80%) | #da1796CC | |
rgb(218, 23, 150, 100%) | #da1796FF |
Saturated and desaturated colors of #da1796
HSL Code | Preview |
---|---|
hsl(321, 10%, 47%) | |
hsl(321, 20%, 47%) | |
hsl(321, 40%, 47%) | |
hsl(321, 60%, 47%) | |
hsl(321, 80%, 47%) | |
hsl(321, 100%, 47%) |
#da1796 Color Usage In CSS
body { color: #da1796; } p { color: rgb(218, 23, 150); } header { border-bottom:1px solid #da1796; }