#d7d2fa Color
Color Codes | |
---|---|
Hex Code | #d7d2fa |
RGB Code | rgb(215, 210, 250) |
HSL Code | hsl(248, 80%, 90%) |
#d7d2fa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(215, 210, 250); }
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(248, 80%, 90%); }
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 #d7d2fa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(215, 210, 250, 10%) | #d7d2fa1a | |
rgb(215, 210, 250, 20%) | #d7d2fa33 | |
rgb(215, 210, 250, 40%) | #d7d2fa4C | |
rgb(215, 210, 250, 60%) | #d7d2fa99 | |
rgb(215, 210, 250, 80%) | #d7d2faCC | |
rgb(215, 210, 250, 100%) | #d7d2faFF |
Saturated and desaturated colors of #d7d2fa
HSL Code | Preview |
---|---|
hsl(248, 10%, 90%) | |
hsl(248, 20%, 90%) | |
hsl(248, 40%, 90%) | |
hsl(248, 60%, 90%) | |
hsl(248, 80%, 90%) | |
hsl(248, 100%, 90%) |
#d7d2fa Color Usage In CSS
body { color: #d7d2fa; } p { color: rgb(215, 210, 250); } header { border-bottom:1px solid #d7d2fa; }