#da97ff Color
Color Codes | |
---|---|
Hex Code | #da97ff |
RGB Code | rgb(218, 151, 255) |
HSL Code | hsl(279, 100%, 80%) |
#da97ff Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(218, 151, 255); }
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(279, 100%, 80%); }
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 #da97ff
RGB Code | Hex Code | Preview |
---|---|---|
rgb(218, 151, 255, 10%) | #da97ff1a | |
rgb(218, 151, 255, 20%) | #da97ff33 | |
rgb(218, 151, 255, 40%) | #da97ff4C | |
rgb(218, 151, 255, 60%) | #da97ff99 | |
rgb(218, 151, 255, 80%) | #da97ffCC | |
rgb(218, 151, 255, 100%) | #da97ffFF |
Saturated and desaturated colors of #da97ff
HSL Code | Preview |
---|---|
hsl(279, 10%, 80%) | |
hsl(279, 20%, 80%) | |
hsl(279, 40%, 80%) | |
hsl(279, 60%, 80%) | |
hsl(279, 80%, 80%) | |
hsl(279, 100%, 80%) |
#da97ff Color Usage In CSS
body { color: #da97ff; } p { color: rgb(218, 151, 255); } header { border-bottom:1px solid #da97ff; }