#d813fe Color
Color Codes | |
---|---|
Hex Code | #d813fe |
RGB Code | rgb(216, 19, 254) |
HSL Code | hsl(290, 99%, 54%) |
#d813fe Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(216, 19, 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(290, 99%, 54%); }
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 #d813fe
RGB Code | Hex Code | Preview |
---|---|---|
rgb(216, 19, 254, 10%) | #d813fe1a | |
rgb(216, 19, 254, 20%) | #d813fe33 | |
rgb(216, 19, 254, 40%) | #d813fe4C | |
rgb(216, 19, 254, 60%) | #d813fe99 | |
rgb(216, 19, 254, 80%) | #d813feCC | |
rgb(216, 19, 254, 100%) | #d813feFF |
Saturated and desaturated colors of #d813fe
HSL Code | Preview |
---|---|
hsl(290, 10%, 54%) | |
hsl(290, 20%, 54%) | |
hsl(290, 40%, 54%) | |
hsl(290, 60%, 54%) | |
hsl(290, 80%, 54%) | |
hsl(290, 100%, 54%) |
#d813fe Color Usage In CSS
body { color: #d813fe; } p { color: rgb(216, 19, 254); } header { border-bottom:1px solid #d813fe; }