#d517ca Color
Color Codes | |
---|---|
Hex Code | #d517ca |
RGB Code | rgb(213, 23, 202) |
HSL Code | hsl(303, 81%, 46%) |
#d517ca Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(213, 23, 202); }
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, 81%, 46%); }
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 #d517ca
RGB Code | Hex Code | Preview |
---|---|---|
rgb(213, 23, 202, 10%) | #d517ca1a | |
rgb(213, 23, 202, 20%) | #d517ca33 | |
rgb(213, 23, 202, 40%) | #d517ca4C | |
rgb(213, 23, 202, 60%) | #d517ca99 | |
rgb(213, 23, 202, 80%) | #d517caCC | |
rgb(213, 23, 202, 100%) | #d517caFF |
Saturated and desaturated colors of #d517ca
HSL Code | Preview |
---|---|
hsl(303, 10%, 46%) | |
hsl(303, 20%, 46%) | |
hsl(303, 40%, 46%) | |
hsl(303, 60%, 46%) | |
hsl(303, 80%, 46%) | |
hsl(303, 100%, 46%) |
#d517ca Color Usage In CSS
body { color: #d517ca; } p { color: rgb(213, 23, 202); } header { border-bottom:1px solid #d517ca; }