#c57d57 Color
Color Codes | |
---|---|
Hex Code | #c57d57 |
RGB Code | rgb(197, 125, 87) |
HSL Code | hsl(21, 49%, 56%) |
#c57d57 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(197, 125, 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(21, 49%, 56%); }
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 #c57d57
RGB Code | Hex Code | Preview |
---|---|---|
rgb(197, 125, 87, 10%) | #c57d571a | |
rgb(197, 125, 87, 20%) | #c57d5733 | |
rgb(197, 125, 87, 40%) | #c57d574C | |
rgb(197, 125, 87, 60%) | #c57d5799 | |
rgb(197, 125, 87, 80%) | #c57d57CC | |
rgb(197, 125, 87, 100%) | #c57d57FF |
Saturated and desaturated colors of #c57d57
HSL Code | Preview |
---|---|
hsl(21, 10%, 56%) | |
hsl(21, 20%, 56%) | |
hsl(21, 40%, 56%) | |
hsl(21, 60%, 56%) | |
hsl(21, 80%, 56%) | |
hsl(21, 100%, 56%) |
#c57d57 Color Usage In CSS
body { color: #c57d57; } p { color: rgb(197, 125, 87); } header { border-bottom:1px solid #c57d57; }