#cf9aa9 Color
Color Codes | |
---|---|
Hex Code | #cf9aa9 |
RGB Code | rgb(207, 154, 169) |
HSL Code | hsl(343, 36%, 71%) |
#cf9aa9 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(207, 154, 169); }
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(343, 36%, 71%); }
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 #cf9aa9
RGB Code | Hex Code | Preview |
---|---|---|
rgb(207, 154, 169, 10%) | #cf9aa91a | |
rgb(207, 154, 169, 20%) | #cf9aa933 | |
rgb(207, 154, 169, 40%) | #cf9aa94C | |
rgb(207, 154, 169, 60%) | #cf9aa999 | |
rgb(207, 154, 169, 80%) | #cf9aa9CC | |
rgb(207, 154, 169, 100%) | #cf9aa9FF |
Saturated and desaturated colors of #cf9aa9
HSL Code | Preview |
---|---|
hsl(343, 10%, 71%) | |
hsl(343, 20%, 71%) | |
hsl(343, 40%, 71%) | |
hsl(343, 60%, 71%) | |
hsl(343, 80%, 71%) | |
hsl(343, 100%, 71%) |
#cf9aa9 Color Usage In CSS
body { color: #cf9aa9; } p { color: rgb(207, 154, 169); } header { border-bottom:1px solid #cf9aa9; }