#d92051 Color
Color Codes | |
---|---|
Hex Code | #d92051 |
RGB Code | rgb(217, 32, 81) |
HSL Code | hsl(344, 74%, 49%) |
#d92051 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(217, 32, 81); }
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(344, 74%, 49%); }
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 #d92051
RGB Code | Hex Code | Preview |
---|---|---|
rgb(217, 32, 81, 10%) | #d920511a | |
rgb(217, 32, 81, 20%) | #d9205133 | |
rgb(217, 32, 81, 40%) | #d920514C | |
rgb(217, 32, 81, 60%) | #d9205199 | |
rgb(217, 32, 81, 80%) | #d92051CC | |
rgb(217, 32, 81, 100%) | #d92051FF |
Saturated and desaturated colors of #d92051
HSL Code | Preview |
---|---|
hsl(344, 10%, 49%) | |
hsl(344, 20%, 49%) | |
hsl(344, 40%, 49%) | |
hsl(344, 60%, 49%) | |
hsl(344, 80%, 49%) | |
hsl(344, 100%, 49%) |
#d92051 Color Usage In CSS
body { color: #d92051; } p { color: rgb(217, 32, 81); } header { border-bottom:1px solid #d92051; }