#d451cd Color
Color Codes | |
---|---|
Hex Code | #d451cd |
RGB Code | rgb(212, 81, 205) |
HSL Code | hsl(303, 60%, 57%) |
#d451cd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(212, 81, 205); }
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, 60%, 57%); }
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 #d451cd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(212, 81, 205, 10%) | #d451cd1a | |
rgb(212, 81, 205, 20%) | #d451cd33 | |
rgb(212, 81, 205, 40%) | #d451cd4C | |
rgb(212, 81, 205, 60%) | #d451cd99 | |
rgb(212, 81, 205, 80%) | #d451cdCC | |
rgb(212, 81, 205, 100%) | #d451cdFF |
Saturated and desaturated colors of #d451cd
HSL Code | Preview |
---|---|
hsl(303, 10%, 57%) | |
hsl(303, 20%, 57%) | |
hsl(303, 40%, 57%) | |
hsl(303, 60%, 57%) | |
hsl(303, 80%, 57%) | |
hsl(303, 100%, 57%) |
#d451cd Color Usage In CSS
body { color: #d451cd; } p { color: rgb(212, 81, 205); } header { border-bottom:1px solid #d451cd; }