#da1ab9 Color
Color Codes | |
---|---|
Hex Code | #da1ab9 |
RGB Code | rgb(218, 26, 185) |
HSL Code | hsl(310, 79%, 48%) |
#da1ab9 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(218, 26, 185); }
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(310, 79%, 48%); }
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 #da1ab9
RGB Code | Hex Code | Preview |
---|---|---|
rgb(218, 26, 185, 10%) | #da1ab91a | |
rgb(218, 26, 185, 20%) | #da1ab933 | |
rgb(218, 26, 185, 40%) | #da1ab94C | |
rgb(218, 26, 185, 60%) | #da1ab999 | |
rgb(218, 26, 185, 80%) | #da1ab9CC | |
rgb(218, 26, 185, 100%) | #da1ab9FF |
Saturated and desaturated colors of #da1ab9
HSL Code | Preview |
---|---|
hsl(310, 10%, 48%) | |
hsl(310, 20%, 48%) | |
hsl(310, 40%, 48%) | |
hsl(310, 60%, 48%) | |
hsl(310, 80%, 48%) | |
hsl(310, 100%, 48%) |
#da1ab9 Color Usage In CSS
body { color: #da1ab9; } p { color: rgb(218, 26, 185); } header { border-bottom:1px solid #da1ab9; }