#d1747e Color
Color Codes | |
---|---|
Hex Code | #d1747e |
RGB Code | rgb(209, 116, 126) |
HSL Code | hsl(354, 50%, 64%) |
#d1747e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(209, 116, 126); }
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(354, 50%, 64%); }
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 #d1747e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(209, 116, 126, 10%) | #d1747e1a | |
rgb(209, 116, 126, 20%) | #d1747e33 | |
rgb(209, 116, 126, 40%) | #d1747e4C | |
rgb(209, 116, 126, 60%) | #d1747e99 | |
rgb(209, 116, 126, 80%) | #d1747eCC | |
rgb(209, 116, 126, 100%) | #d1747eFF |
Saturated and desaturated colors of #d1747e
HSL Code | Preview |
---|---|
hsl(354, 10%, 64%) | |
hsl(354, 20%, 64%) | |
hsl(354, 40%, 64%) | |
hsl(354, 60%, 64%) | |
hsl(354, 80%, 64%) | |
hsl(354, 100%, 64%) |
#d1747e Color Usage In CSS
body { color: #d1747e; } p { color: rgb(209, 116, 126); } header { border-bottom:1px solid #d1747e; }