#c4a4bc Color
Color Codes | |
---|---|
Hex Code | #c4a4bc |
RGB Code | rgb(196, 164, 188) |
HSL Code | hsl(315, 21%, 71%) |
#c4a4bc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(196, 164, 188); }
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(315, 21%, 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 #c4a4bc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(196, 164, 188, 10%) | #c4a4bc1a | |
rgb(196, 164, 188, 20%) | #c4a4bc33 | |
rgb(196, 164, 188, 40%) | #c4a4bc4C | |
rgb(196, 164, 188, 60%) | #c4a4bc99 | |
rgb(196, 164, 188, 80%) | #c4a4bcCC | |
rgb(196, 164, 188, 100%) | #c4a4bcFF |
Saturated and desaturated colors of #c4a4bc
HSL Code | Preview |
---|---|
hsl(315, 10%, 71%) | |
hsl(315, 20%, 71%) | |
hsl(315, 40%, 71%) | |
hsl(315, 60%, 71%) | |
hsl(315, 80%, 71%) | |
hsl(315, 100%, 71%) |
#c4a4bc Color Usage In CSS
body { color: #c4a4bc; } p { color: rgb(196, 164, 188); } header { border-bottom:1px solid #c4a4bc; }