#dd20ef Color
Color Codes | |
---|---|
Hex Code | #dd20ef |
RGB Code | rgb(221, 32, 239) |
HSL Code | hsl(295, 87%, 53%) |
#dd20ef Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(221, 32, 239); }
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(295, 87%, 53%); }
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 #dd20ef
RGB Code | Hex Code | Preview |
---|---|---|
rgb(221, 32, 239, 10%) | #dd20ef1a | |
rgb(221, 32, 239, 20%) | #dd20ef33 | |
rgb(221, 32, 239, 40%) | #dd20ef4C | |
rgb(221, 32, 239, 60%) | #dd20ef99 | |
rgb(221, 32, 239, 80%) | #dd20efCC | |
rgb(221, 32, 239, 100%) | #dd20efFF |
Saturated and desaturated colors of #dd20ef
HSL Code | Preview |
---|---|
hsl(295, 10%, 53%) | |
hsl(295, 20%, 53%) | |
hsl(295, 40%, 53%) | |
hsl(295, 60%, 53%) | |
hsl(295, 80%, 53%) | |
hsl(295, 100%, 53%) |
#dd20ef Color Usage In CSS
body { color: #dd20ef; } p { color: rgb(221, 32, 239); } header { border-bottom:1px solid #dd20ef; }