#c2870a Color
Color Codes | |
---|---|
Hex Code | #c2870a |
RGB Code | rgb(194, 135, 10) |
HSL Code | hsl(41, 90%, 40%) |
#c2870a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(194, 135, 10); }
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(41, 90%, 40%); }
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 #c2870a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(194, 135, 10, 10%) | #c2870a1a | |
rgb(194, 135, 10, 20%) | #c2870a33 | |
rgb(194, 135, 10, 40%) | #c2870a4C | |
rgb(194, 135, 10, 60%) | #c2870a99 | |
rgb(194, 135, 10, 80%) | #c2870aCC | |
rgb(194, 135, 10, 100%) | #c2870aFF |
Saturated and desaturated colors of #c2870a
HSL Code | Preview |
---|---|
hsl(41, 10%, 40%) | |
hsl(41, 20%, 40%) | |
hsl(41, 40%, 40%) | |
hsl(41, 60%, 40%) | |
hsl(41, 80%, 40%) | |
hsl(41, 100%, 40%) |
#c2870a Color Usage In CSS
body { color: #c2870a; } p { color: rgb(194, 135, 10); } header { border-bottom:1px solid #c2870a; }