#c47f57 Color
Color Codes | |
---|---|
Hex Code | #c47f57 |
RGB Code | rgb(196, 127, 87) |
HSL Code | hsl(22, 48%, 55%) |
#c47f57 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(196, 127, 87); }
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(22, 48%, 55%); }
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 #c47f57
RGB Code | Hex Code | Preview |
---|---|---|
rgb(196, 127, 87, 10%) | #c47f571a | |
rgb(196, 127, 87, 20%) | #c47f5733 | |
rgb(196, 127, 87, 40%) | #c47f574C | |
rgb(196, 127, 87, 60%) | #c47f5799 | |
rgb(196, 127, 87, 80%) | #c47f57CC | |
rgb(196, 127, 87, 100%) | #c47f57FF |
Saturated and desaturated colors of #c47f57
HSL Code | Preview |
---|---|
hsl(22, 10%, 55%) | |
hsl(22, 20%, 55%) | |
hsl(22, 40%, 55%) | |
hsl(22, 60%, 55%) | |
hsl(22, 80%, 55%) | |
hsl(22, 100%, 55%) |
#c47f57 Color Usage In CSS
body { color: #c47f57; } p { color: rgb(196, 127, 87); } header { border-bottom:1px solid #c47f57; }