#db1ef8 Color
Color Codes | |
---|---|
Hex Code | #db1ef8 |
RGB Code | rgb(219, 30, 248) |
HSL Code | hsl(292, 94%, 55%) |
#db1ef8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(219, 30, 248); }
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(292, 94%, 55%); }
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 #db1ef8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(219, 30, 248, 10%) | #db1ef81a | |
rgb(219, 30, 248, 20%) | #db1ef833 | |
rgb(219, 30, 248, 40%) | #db1ef84C | |
rgb(219, 30, 248, 60%) | #db1ef899 | |
rgb(219, 30, 248, 80%) | #db1ef8CC | |
rgb(219, 30, 248, 100%) | #db1ef8FF |
Saturated and desaturated colors of #db1ef8
HSL Code | Preview |
---|---|
hsl(292, 10%, 55%) | |
hsl(292, 20%, 55%) | |
hsl(292, 40%, 55%) | |
hsl(292, 60%, 55%) | |
hsl(292, 80%, 55%) | |
hsl(292, 100%, 55%) |
#db1ef8 Color Usage In CSS
body { color: #db1ef8; } p { color: rgb(219, 30, 248); } header { border-bottom:1px solid #db1ef8; }