#d878fe Color
Color Codes | |
---|---|
Hex Code | #d878fe |
RGB Code | rgb(216, 120, 254) |
HSL Code | hsl(283, 99%, 73%) |
#d878fe Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(216, 120, 254); }
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(283, 99%, 73%); }
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 #d878fe
RGB Code | Hex Code | Preview |
---|---|---|
rgb(216, 120, 254, 10%) | #d878fe1a | |
rgb(216, 120, 254, 20%) | #d878fe33 | |
rgb(216, 120, 254, 40%) | #d878fe4C | |
rgb(216, 120, 254, 60%) | #d878fe99 | |
rgb(216, 120, 254, 80%) | #d878feCC | |
rgb(216, 120, 254, 100%) | #d878feFF |
Saturated and desaturated colors of #d878fe
HSL Code | Preview |
---|---|
hsl(283, 10%, 73%) | |
hsl(283, 20%, 73%) | |
hsl(283, 40%, 73%) | |
hsl(283, 60%, 73%) | |
hsl(283, 80%, 73%) | |
hsl(283, 100%, 73%) |
#d878fe Color Usage In CSS
body { color: #d878fe; } p { color: rgb(216, 120, 254); } header { border-bottom:1px solid #d878fe; }