#c9988d Color
Color Codes | |
---|---|
Hex Code | #c9988d |
RGB Code | rgb(201, 152, 141) |
HSL Code | hsl(11, 36%, 67%) |
#c9988d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(201, 152, 141); }
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(11, 36%, 67%); }
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 #c9988d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(201, 152, 141, 10%) | #c9988d1a | |
rgb(201, 152, 141, 20%) | #c9988d33 | |
rgb(201, 152, 141, 40%) | #c9988d4C | |
rgb(201, 152, 141, 60%) | #c9988d99 | |
rgb(201, 152, 141, 80%) | #c9988dCC | |
rgb(201, 152, 141, 100%) | #c9988dFF |
Saturated and desaturated colors of #c9988d
HSL Code | Preview |
---|---|
hsl(11, 10%, 67%) | |
hsl(11, 20%, 67%) | |
hsl(11, 40%, 67%) | |
hsl(11, 60%, 67%) | |
hsl(11, 80%, 67%) | |
hsl(11, 100%, 67%) |
#c9988d Color Usage In CSS
body { color: #c9988d; } p { color: rgb(201, 152, 141); } header { border-bottom:1px solid #c9988d; }