#d944d7 Color
Color Codes | |
---|---|
Hex Code | #d944d7 |
RGB Code | rgb(217, 68, 215) |
HSL Code | hsl(301, 66%, 56%) |
#d944d7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(217, 68, 215); }
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(301, 66%, 56%); }
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 #d944d7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(217, 68, 215, 10%) | #d944d71a | |
rgb(217, 68, 215, 20%) | #d944d733 | |
rgb(217, 68, 215, 40%) | #d944d74C | |
rgb(217, 68, 215, 60%) | #d944d799 | |
rgb(217, 68, 215, 80%) | #d944d7CC | |
rgb(217, 68, 215, 100%) | #d944d7FF |
Saturated and desaturated colors of #d944d7
HSL Code | Preview |
---|---|
hsl(301, 10%, 56%) | |
hsl(301, 20%, 56%) | |
hsl(301, 40%, 56%) | |
hsl(301, 60%, 56%) | |
hsl(301, 80%, 56%) | |
hsl(301, 100%, 56%) |
#d944d7 Color Usage In CSS
body { color: #d944d7; } p { color: rgb(217, 68, 215); } header { border-bottom:1px solid #d944d7; }