#d13bab Color
Color Codes | |
---|---|
Hex Code | #d13bab |
RGB Code | rgb(209, 59, 171) |
HSL Code | hsl(315, 62%, 53%) |
#d13bab Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(209, 59, 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(315, 62%, 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 #d13bab
RGB Code | Hex Code | Preview |
---|---|---|
rgb(209, 59, 171, 10%) | #d13bab1a | |
rgb(209, 59, 171, 20%) | #d13bab33 | |
rgb(209, 59, 171, 40%) | #d13bab4C | |
rgb(209, 59, 171, 60%) | #d13bab99 | |
rgb(209, 59, 171, 80%) | #d13babCC | |
rgb(209, 59, 171, 100%) | #d13babFF |
Saturated and desaturated colors of #d13bab
HSL Code | Preview |
---|---|
hsl(315, 10%, 53%) | |
hsl(315, 20%, 53%) | |
hsl(315, 40%, 53%) | |
hsl(315, 60%, 53%) | |
hsl(315, 80%, 53%) | |
hsl(315, 100%, 53%) |
#d13bab Color Usage In CSS
body { color: #d13bab; } p { color: rgb(209, 59, 171); } header { border-bottom:1px solid #d13bab; }