#d547ce Color
Color Codes | |
---|---|
Hex Code | #d547ce |
RGB Code | rgb(213, 71, 206) |
HSL Code | hsl(303, 63%, 56%) |
#d547ce Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(213, 71, 206); }
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, 63%, 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 #d547ce
RGB Code | Hex Code | Preview |
---|---|---|
rgb(213, 71, 206, 10%) | #d547ce1a | |
rgb(213, 71, 206, 20%) | #d547ce33 | |
rgb(213, 71, 206, 40%) | #d547ce4C | |
rgb(213, 71, 206, 60%) | #d547ce99 | |
rgb(213, 71, 206, 80%) | #d547ceCC | |
rgb(213, 71, 206, 100%) | #d547ceFF |
Saturated and desaturated colors of #d547ce
HSL Code | Preview |
---|---|
hsl(303, 10%, 56%) | |
hsl(303, 20%, 56%) | |
hsl(303, 40%, 56%) | |
hsl(303, 60%, 56%) | |
hsl(303, 80%, 56%) | |
hsl(303, 100%, 56%) |
#d547ce Color Usage In CSS
body { color: #d547ce; } p { color: rgb(213, 71, 206); } header { border-bottom:1px solid #d547ce; }