#d9a3dc Color
Color Codes | |
---|---|
Hex Code | #d9a3dc |
RGB Code | rgb(217, 163, 220) |
HSL Code | hsl(297, 45%, 75%) |
#d9a3dc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(217, 163, 220); }
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(297, 45%, 75%); }
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 #d9a3dc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(217, 163, 220, 10%) | #d9a3dc1a | |
rgb(217, 163, 220, 20%) | #d9a3dc33 | |
rgb(217, 163, 220, 40%) | #d9a3dc4C | |
rgb(217, 163, 220, 60%) | #d9a3dc99 | |
rgb(217, 163, 220, 80%) | #d9a3dcCC | |
rgb(217, 163, 220, 100%) | #d9a3dcFF |
Saturated and desaturated colors of #d9a3dc
HSL Code | Preview |
---|---|
hsl(297, 10%, 75%) | |
hsl(297, 20%, 75%) | |
hsl(297, 40%, 75%) | |
hsl(297, 60%, 75%) | |
hsl(297, 80%, 75%) | |
hsl(297, 100%, 75%) |
#d9a3dc Color Usage In CSS
body { color: #d9a3dc; } p { color: rgb(217, 163, 220); } header { border-bottom:1px solid #d9a3dc; }