#da1eaa Color
Color Codes | |
---|---|
Hex Code | #da1eaa |
RGB Code | rgb(218, 30, 170) |
HSL Code | hsl(315, 76%, 49%) |
#da1eaa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(218, 30, 170); }
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(315, 76%, 49%); }
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 #da1eaa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(218, 30, 170, 10%) | #da1eaa1a | |
rgb(218, 30, 170, 20%) | #da1eaa33 | |
rgb(218, 30, 170, 40%) | #da1eaa4C | |
rgb(218, 30, 170, 60%) | #da1eaa99 | |
rgb(218, 30, 170, 80%) | #da1eaaCC | |
rgb(218, 30, 170, 100%) | #da1eaaFF |
Saturated and desaturated colors of #da1eaa
HSL Code | Preview |
---|---|
hsl(315, 10%, 49%) | |
hsl(315, 20%, 49%) | |
hsl(315, 40%, 49%) | |
hsl(315, 60%, 49%) | |
hsl(315, 80%, 49%) | |
hsl(315, 100%, 49%) |
#da1eaa Color Usage In CSS
body { color: #da1eaa; } p { color: rgb(218, 30, 170); } header { border-bottom:1px solid #da1eaa; }