#ca8c37 Color
Color Codes | |
---|---|
Hex Code | #ca8c37 |
RGB Code | rgb(202, 140, 55) |
HSL Code | hsl(35, 58%, 50%) |
#ca8c37 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(202, 140, 55); }
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(35, 58%, 50%); }
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 #ca8c37
RGB Code | Hex Code | Preview |
---|---|---|
rgb(202, 140, 55, 10%) | #ca8c371a | |
rgb(202, 140, 55, 20%) | #ca8c3733 | |
rgb(202, 140, 55, 40%) | #ca8c374C | |
rgb(202, 140, 55, 60%) | #ca8c3799 | |
rgb(202, 140, 55, 80%) | #ca8c37CC | |
rgb(202, 140, 55, 100%) | #ca8c37FF |
Saturated and desaturated colors of #ca8c37
HSL Code | Preview |
---|---|
hsl(35, 10%, 50%) | |
hsl(35, 20%, 50%) | |
hsl(35, 40%, 50%) | |
hsl(35, 60%, 50%) | |
hsl(35, 80%, 50%) | |
hsl(35, 100%, 50%) |
#ca8c37 Color Usage In CSS
body { color: #ca8c37; } p { color: rgb(202, 140, 55); } header { border-bottom:1px solid #ca8c37; }