#c26c5a Color
Color Codes | |
---|---|
Hex Code | #c26c5a |
RGB Code | rgb(194, 108, 90) |
HSL Code | hsl(10, 46%, 56%) |
#c26c5a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(194, 108, 90); }
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(10, 46%, 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 #c26c5a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(194, 108, 90, 10%) | #c26c5a1a | |
rgb(194, 108, 90, 20%) | #c26c5a33 | |
rgb(194, 108, 90, 40%) | #c26c5a4C | |
rgb(194, 108, 90, 60%) | #c26c5a99 | |
rgb(194, 108, 90, 80%) | #c26c5aCC | |
rgb(194, 108, 90, 100%) | #c26c5aFF |
Saturated and desaturated colors of #c26c5a
HSL Code | Preview |
---|---|
hsl(10, 10%, 56%) | |
hsl(10, 20%, 56%) | |
hsl(10, 40%, 56%) | |
hsl(10, 60%, 56%) | |
hsl(10, 80%, 56%) | |
hsl(10, 100%, 56%) |
#c26c5a Color Usage In CSS
body { color: #c26c5a; } p { color: rgb(194, 108, 90); } header { border-bottom:1px solid #c26c5a; }