#dd4cfd Color
Color Codes | |
---|---|
Hex Code | #dd4cfd |
RGB Code | rgb(221, 76, 253) |
HSL Code | hsl(289, 98%, 65%) |
#dd4cfd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(221, 76, 253); }
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(289, 98%, 65%); }
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 #dd4cfd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(221, 76, 253, 10%) | #dd4cfd1a | |
rgb(221, 76, 253, 20%) | #dd4cfd33 | |
rgb(221, 76, 253, 40%) | #dd4cfd4C | |
rgb(221, 76, 253, 60%) | #dd4cfd99 | |
rgb(221, 76, 253, 80%) | #dd4cfdCC | |
rgb(221, 76, 253, 100%) | #dd4cfdFF |
Saturated and desaturated colors of #dd4cfd
HSL Code | Preview |
---|---|
hsl(289, 10%, 65%) | |
hsl(289, 20%, 65%) | |
hsl(289, 40%, 65%) | |
hsl(289, 60%, 65%) | |
hsl(289, 80%, 65%) | |
hsl(289, 100%, 65%) |
#dd4cfd Color Usage In CSS
body { color: #dd4cfd; } p { color: rgb(221, 76, 253); } header { border-bottom:1px solid #dd4cfd; }