#db26ab Color
Color Codes | |
---|---|
Hex Code | #db26ab |
RGB Code | rgb(219, 38, 171) |
HSL Code | hsl(316, 72%, 50%) |
#db26ab Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(219, 38, 171); }
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(316, 72%, 50%); }
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 #db26ab
RGB Code | Hex Code | Preview |
---|---|---|
rgb(219, 38, 171, 10%) | #db26ab1a | |
rgb(219, 38, 171, 20%) | #db26ab33 | |
rgb(219, 38, 171, 40%) | #db26ab4C | |
rgb(219, 38, 171, 60%) | #db26ab99 | |
rgb(219, 38, 171, 80%) | #db26abCC | |
rgb(219, 38, 171, 100%) | #db26abFF |
Saturated and desaturated colors of #db26ab
HSL Code | Preview |
---|---|
hsl(316, 10%, 50%) | |
hsl(316, 20%, 50%) | |
hsl(316, 40%, 50%) | |
hsl(316, 60%, 50%) | |
hsl(316, 80%, 50%) | |
hsl(316, 100%, 50%) |
#db26ab Color Usage In CSS
body { color: #db26ab; } p { color: rgb(219, 38, 171); } header { border-bottom:1px solid #db26ab; }