#da2ab0 Color
Color Codes | |
---|---|
Hex Code | #da2ab0 |
RGB Code | rgb(218, 42, 176) |
HSL Code | hsl(314, 70%, 51%) |
#da2ab0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(218, 42, 176); }
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(314, 70%, 51%); }
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 #da2ab0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(218, 42, 176, 10%) | #da2ab01a | |
rgb(218, 42, 176, 20%) | #da2ab033 | |
rgb(218, 42, 176, 40%) | #da2ab04C | |
rgb(218, 42, 176, 60%) | #da2ab099 | |
rgb(218, 42, 176, 80%) | #da2ab0CC | |
rgb(218, 42, 176, 100%) | #da2ab0FF |
Saturated and desaturated colors of #da2ab0
HSL Code | Preview |
---|---|
hsl(314, 10%, 51%) | |
hsl(314, 20%, 51%) | |
hsl(314, 40%, 51%) | |
hsl(314, 60%, 51%) | |
hsl(314, 80%, 51%) | |
hsl(314, 100%, 51%) |
#da2ab0 Color Usage In CSS
body { color: #da2ab0; } p { color: rgb(218, 42, 176); } header { border-bottom:1px solid #da2ab0; }