#d326fd Color
Color Codes | |
---|---|
Hex Code | #d326fd |
RGB Code | rgb(211, 38, 253) |
HSL Code | hsl(288, 98%, 57%) |
#d326fd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(211, 38, 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(288, 98%, 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 #d326fd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(211, 38, 253, 10%) | #d326fd1a | |
rgb(211, 38, 253, 20%) | #d326fd33 | |
rgb(211, 38, 253, 40%) | #d326fd4C | |
rgb(211, 38, 253, 60%) | #d326fd99 | |
rgb(211, 38, 253, 80%) | #d326fdCC | |
rgb(211, 38, 253, 100%) | #d326fdFF |
Saturated and desaturated colors of #d326fd
HSL Code | Preview |
---|---|
hsl(288, 10%, 57%) | |
hsl(288, 20%, 57%) | |
hsl(288, 40%, 57%) | |
hsl(288, 60%, 57%) | |
hsl(288, 80%, 57%) | |
hsl(288, 100%, 57%) |
#d326fd Color Usage In CSS
body { color: #d326fd; } p { color: rgb(211, 38, 253); } header { border-bottom:1px solid #d326fd; }