#da40b5 Color
Color Codes | |
---|---|
Hex Code | #da40b5 |
RGB Code | rgb(218, 64, 181) |
HSL Code | hsl(314, 68%, 55%) |
#da40b5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(218, 64, 181); }
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, 68%, 55%); }
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 #da40b5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(218, 64, 181, 10%) | #da40b51a | |
rgb(218, 64, 181, 20%) | #da40b533 | |
rgb(218, 64, 181, 40%) | #da40b54C | |
rgb(218, 64, 181, 60%) | #da40b599 | |
rgb(218, 64, 181, 80%) | #da40b5CC | |
rgb(218, 64, 181, 100%) | #da40b5FF |
Saturated and desaturated colors of #da40b5
HSL Code | Preview |
---|---|
hsl(314, 10%, 55%) | |
hsl(314, 20%, 55%) | |
hsl(314, 40%, 55%) | |
hsl(314, 60%, 55%) | |
hsl(314, 80%, 55%) | |
hsl(314, 100%, 55%) |
#da40b5 Color Usage In CSS
body { color: #da40b5; } p { color: rgb(218, 64, 181); } header { border-bottom:1px solid #da40b5; }