#c7b3ba Color
Color Codes | |
---|---|
Hex Code | #c7b3ba |
RGB Code | rgb(199, 179, 186) |
HSL Code | hsl(339, 15%, 74%) |
#c7b3ba Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(199, 179, 186); }
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(339, 15%, 74%); }
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 #c7b3ba
RGB Code | Hex Code | Preview |
---|---|---|
rgb(199, 179, 186, 10%) | #c7b3ba1a | |
rgb(199, 179, 186, 20%) | #c7b3ba33 | |
rgb(199, 179, 186, 40%) | #c7b3ba4C | |
rgb(199, 179, 186, 60%) | #c7b3ba99 | |
rgb(199, 179, 186, 80%) | #c7b3baCC | |
rgb(199, 179, 186, 100%) | #c7b3baFF |
Saturated and desaturated colors of #c7b3ba
HSL Code | Preview |
---|---|
hsl(339, 10%, 74%) | |
hsl(339, 20%, 74%) | |
hsl(339, 40%, 74%) | |
hsl(339, 60%, 74%) | |
hsl(339, 80%, 74%) | |
hsl(339, 100%, 74%) |
#c7b3ba Color Usage In CSS
body { color: #c7b3ba; } p { color: rgb(199, 179, 186); } header { border-bottom:1px solid #c7b3ba; }