#d77baa Color
Color Codes | |
---|---|
Hex Code | #d77baa |
RGB Code | rgb(215, 123, 170) |
HSL Code | hsl(329, 53%, 66%) |
#d77baa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(215, 123, 170); }
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(329, 53%, 66%); }
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 #d77baa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(215, 123, 170, 10%) | #d77baa1a | |
rgb(215, 123, 170, 20%) | #d77baa33 | |
rgb(215, 123, 170, 40%) | #d77baa4C | |
rgb(215, 123, 170, 60%) | #d77baa99 | |
rgb(215, 123, 170, 80%) | #d77baaCC | |
rgb(215, 123, 170, 100%) | #d77baaFF |
Saturated and desaturated colors of #d77baa
HSL Code | Preview |
---|---|
hsl(329, 10%, 66%) | |
hsl(329, 20%, 66%) | |
hsl(329, 40%, 66%) | |
hsl(329, 60%, 66%) | |
hsl(329, 80%, 66%) | |
hsl(329, 100%, 66%) |
#d77baa Color Usage In CSS
body { color: #d77baa; } p { color: rgb(215, 123, 170); } header { border-bottom:1px solid #d77baa; }