#cc7dab Color
Color Codes | |
---|---|
Hex Code | #cc7dab |
RGB Code | rgb(204, 125, 171) |
HSL Code | hsl(325, 44%, 65%) |
#cc7dab Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(204, 125, 171); }
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(325, 44%, 65%); }
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 #cc7dab
RGB Code | Hex Code | Preview |
---|---|---|
rgb(204, 125, 171, 10%) | #cc7dab1a | |
rgb(204, 125, 171, 20%) | #cc7dab33 | |
rgb(204, 125, 171, 40%) | #cc7dab4C | |
rgb(204, 125, 171, 60%) | #cc7dab99 | |
rgb(204, 125, 171, 80%) | #cc7dabCC | |
rgb(204, 125, 171, 100%) | #cc7dabFF |
Saturated and desaturated colors of #cc7dab
HSL Code | Preview |
---|---|
hsl(325, 10%, 65%) | |
hsl(325, 20%, 65%) | |
hsl(325, 40%, 65%) | |
hsl(325, 60%, 65%) | |
hsl(325, 80%, 65%) | |
hsl(325, 100%, 65%) |
#cc7dab Color Usage In CSS
body { color: #cc7dab; } p { color: rgb(204, 125, 171); } header { border-bottom:1px solid #cc7dab; }