#d37cca Color
Color Codes | |
---|---|
Hex Code | #d37cca |
RGB Code | rgb(211, 124, 202) |
HSL Code | hsl(306, 50%, 66%) |
#d37cca Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(211, 124, 202); }
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(306, 50%, 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 #d37cca
RGB Code | Hex Code | Preview |
---|---|---|
rgb(211, 124, 202, 10%) | #d37cca1a | |
rgb(211, 124, 202, 20%) | #d37cca33 | |
rgb(211, 124, 202, 40%) | #d37cca4C | |
rgb(211, 124, 202, 60%) | #d37cca99 | |
rgb(211, 124, 202, 80%) | #d37ccaCC | |
rgb(211, 124, 202, 100%) | #d37ccaFF |
Saturated and desaturated colors of #d37cca
HSL Code | Preview |
---|---|
hsl(306, 10%, 66%) | |
hsl(306, 20%, 66%) | |
hsl(306, 40%, 66%) | |
hsl(306, 60%, 66%) | |
hsl(306, 80%, 66%) | |
hsl(306, 100%, 66%) |
#d37cca Color Usage In CSS
body { color: #d37cca; } p { color: rgb(211, 124, 202); } header { border-bottom:1px solid #d37cca; }