#c972aa Color
Color Codes | |
---|---|
Hex Code | #c972aa |
RGB Code | rgb(201, 114, 170) |
HSL Code | hsl(321, 45%, 62%) |
#c972aa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(201, 114, 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(321, 45%, 62%); }
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 #c972aa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(201, 114, 170, 10%) | #c972aa1a | |
rgb(201, 114, 170, 20%) | #c972aa33 | |
rgb(201, 114, 170, 40%) | #c972aa4C | |
rgb(201, 114, 170, 60%) | #c972aa99 | |
rgb(201, 114, 170, 80%) | #c972aaCC | |
rgb(201, 114, 170, 100%) | #c972aaFF |
Saturated and desaturated colors of #c972aa
HSL Code | Preview |
---|---|
hsl(321, 10%, 62%) | |
hsl(321, 20%, 62%) | |
hsl(321, 40%, 62%) | |
hsl(321, 60%, 62%) | |
hsl(321, 80%, 62%) | |
hsl(321, 100%, 62%) |
#c972aa Color Usage In CSS
body { color: #c972aa; } p { color: rgb(201, 114, 170); } header { border-bottom:1px solid #c972aa; }