#d439ab Color
Color Codes | |
---|---|
Hex Code | #d439ab |
RGB Code | rgb(212, 57, 171) |
HSL Code | hsl(316, 64%, 53%) |
#d439ab Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(212, 57, 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, 64%, 53%); }
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 #d439ab
RGB Code | Hex Code | Preview |
---|---|---|
rgb(212, 57, 171, 10%) | #d439ab1a | |
rgb(212, 57, 171, 20%) | #d439ab33 | |
rgb(212, 57, 171, 40%) | #d439ab4C | |
rgb(212, 57, 171, 60%) | #d439ab99 | |
rgb(212, 57, 171, 80%) | #d439abCC | |
rgb(212, 57, 171, 100%) | #d439abFF |
Saturated and desaturated colors of #d439ab
HSL Code | Preview |
---|---|
hsl(316, 10%, 53%) | |
hsl(316, 20%, 53%) | |
hsl(316, 40%, 53%) | |
hsl(316, 60%, 53%) | |
hsl(316, 80%, 53%) | |
hsl(316, 100%, 53%) |
#d439ab Color Usage In CSS
body { color: #d439ab; } p { color: rgb(212, 57, 171); } header { border-bottom:1px solid #d439ab; }