#dd4bd5 Color
Color Codes | |
---|---|
Hex Code | #dd4bd5 |
RGB Code | rgb(221, 75, 213) |
HSL Code | hsl(303, 68%, 58%) |
#dd4bd5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(221, 75, 213); }
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(303, 68%, 58%); }
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 #dd4bd5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(221, 75, 213, 10%) | #dd4bd51a | |
rgb(221, 75, 213, 20%) | #dd4bd533 | |
rgb(221, 75, 213, 40%) | #dd4bd54C | |
rgb(221, 75, 213, 60%) | #dd4bd599 | |
rgb(221, 75, 213, 80%) | #dd4bd5CC | |
rgb(221, 75, 213, 100%) | #dd4bd5FF |
Saturated and desaturated colors of #dd4bd5
HSL Code | Preview |
---|---|
hsl(303, 10%, 58%) | |
hsl(303, 20%, 58%) | |
hsl(303, 40%, 58%) | |
hsl(303, 60%, 58%) | |
hsl(303, 80%, 58%) | |
hsl(303, 100%, 58%) |
#dd4bd5 Color Usage In CSS
body { color: #dd4bd5; } p { color: rgb(221, 75, 213); } header { border-bottom:1px solid #dd4bd5; }