#da10a1 Color
Color Codes | |
---|---|
Hex Code | #da10a1 |
RGB Code | rgb(218, 16, 161) |
HSL Code | hsl(317, 86%, 46%) |
#da10a1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(218, 16, 161); }
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(317, 86%, 46%); }
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 #da10a1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(218, 16, 161, 10%) | #da10a11a | |
rgb(218, 16, 161, 20%) | #da10a133 | |
rgb(218, 16, 161, 40%) | #da10a14C | |
rgb(218, 16, 161, 60%) | #da10a199 | |
rgb(218, 16, 161, 80%) | #da10a1CC | |
rgb(218, 16, 161, 100%) | #da10a1FF |
Saturated and desaturated colors of #da10a1
HSL Code | Preview |
---|---|
hsl(317, 10%, 46%) | |
hsl(317, 20%, 46%) | |
hsl(317, 40%, 46%) | |
hsl(317, 60%, 46%) | |
hsl(317, 80%, 46%) | |
hsl(317, 100%, 46%) |
#da10a1 Color Usage In CSS
body { color: #da10a1; } p { color: rgb(218, 16, 161); } header { border-bottom:1px solid #da10a1; }