#c86a1a Color
Color Codes | |
---|---|
Hex Code | #c86a1a |
RGB Code | rgb(200, 106, 26) |
HSL Code | hsl(28, 77%, 44%) |
#c86a1a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(200, 106, 26); }
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(28, 77%, 44%); }
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 #c86a1a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(200, 106, 26, 10%) | #c86a1a1a | |
rgb(200, 106, 26, 20%) | #c86a1a33 | |
rgb(200, 106, 26, 40%) | #c86a1a4C | |
rgb(200, 106, 26, 60%) | #c86a1a99 | |
rgb(200, 106, 26, 80%) | #c86a1aCC | |
rgb(200, 106, 26, 100%) | #c86a1aFF |
Saturated and desaturated colors of #c86a1a
HSL Code | Preview |
---|---|
hsl(28, 10%, 44%) | |
hsl(28, 20%, 44%) | |
hsl(28, 40%, 44%) | |
hsl(28, 60%, 44%) | |
hsl(28, 80%, 44%) | |
hsl(28, 100%, 44%) |
#c86a1a Color Usage In CSS
body { color: #c86a1a; } p { color: rgb(200, 106, 26); } header { border-bottom:1px solid #c86a1a; }