#d52d73 Color
Color Codes | |
---|---|
Hex Code | #d52d73 |
RGB Code | rgb(213, 45, 115) |
HSL Code | hsl(335, 67%, 51%) |
#d52d73 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(213, 45, 115); }
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(335, 67%, 51%); }
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 #d52d73
RGB Code | Hex Code | Preview |
---|---|---|
rgb(213, 45, 115, 10%) | #d52d731a | |
rgb(213, 45, 115, 20%) | #d52d7333 | |
rgb(213, 45, 115, 40%) | #d52d734C | |
rgb(213, 45, 115, 60%) | #d52d7399 | |
rgb(213, 45, 115, 80%) | #d52d73CC | |
rgb(213, 45, 115, 100%) | #d52d73FF |
Saturated and desaturated colors of #d52d73
HSL Code | Preview |
---|---|
hsl(335, 10%, 51%) | |
hsl(335, 20%, 51%) | |
hsl(335, 40%, 51%) | |
hsl(335, 60%, 51%) | |
hsl(335, 80%, 51%) | |
hsl(335, 100%, 51%) |
#d52d73 Color Usage In CSS
body { color: #d52d73; } p { color: rgb(213, 45, 115); } header { border-bottom:1px solid #d52d73; }