#d813f4 Color
Color Codes | |
---|---|
Hex Code | #d813f4 |
RGB Code | rgb(216, 19, 244) |
HSL Code | hsl(293, 91%, 52%) |
#d813f4 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(216, 19, 244); }
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(293, 91%, 52%); }
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 #d813f4
RGB Code | Hex Code | Preview |
---|---|---|
rgb(216, 19, 244, 10%) | #d813f41a | |
rgb(216, 19, 244, 20%) | #d813f433 | |
rgb(216, 19, 244, 40%) | #d813f44C | |
rgb(216, 19, 244, 60%) | #d813f499 | |
rgb(216, 19, 244, 80%) | #d813f4CC | |
rgb(216, 19, 244, 100%) | #d813f4FF |
Saturated and desaturated colors of #d813f4
HSL Code | Preview |
---|---|
hsl(293, 10%, 52%) | |
hsl(293, 20%, 52%) | |
hsl(293, 40%, 52%) | |
hsl(293, 60%, 52%) | |
hsl(293, 80%, 52%) | |
hsl(293, 100%, 52%) |
#d813f4 Color Usage In CSS
body { color: #d813f4; } p { color: rgb(216, 19, 244); } header { border-bottom:1px solid #d813f4; }