#d821de Color
Color Codes | |
---|---|
Hex Code | #d821de |
RGB Code | rgb(216, 33, 222) |
HSL Code | hsl(298, 74%, 50%) |
#d821de Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(216, 33, 222); }
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(298, 74%, 50%); }
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 #d821de
RGB Code | Hex Code | Preview |
---|---|---|
rgb(216, 33, 222, 10%) | #d821de1a | |
rgb(216, 33, 222, 20%) | #d821de33 | |
rgb(216, 33, 222, 40%) | #d821de4C | |
rgb(216, 33, 222, 60%) | #d821de99 | |
rgb(216, 33, 222, 80%) | #d821deCC | |
rgb(216, 33, 222, 100%) | #d821deFF |
Saturated and desaturated colors of #d821de
HSL Code | Preview |
---|---|
hsl(298, 10%, 50%) | |
hsl(298, 20%, 50%) | |
hsl(298, 40%, 50%) | |
hsl(298, 60%, 50%) | |
hsl(298, 80%, 50%) | |
hsl(298, 100%, 50%) |
#d821de Color Usage In CSS
body { color: #d821de; } p { color: rgb(216, 33, 222); } header { border-bottom:1px solid #d821de; }