#c2956b Color
Color Codes | |
---|---|
Hex Code | #c2956b |
RGB Code | rgb(194, 149, 107) |
HSL Code | hsl(29, 42%, 59%) |
#c2956b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(194, 149, 107); }
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(29, 42%, 59%); }
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 #c2956b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(194, 149, 107, 10%) | #c2956b1a | |
rgb(194, 149, 107, 20%) | #c2956b33 | |
rgb(194, 149, 107, 40%) | #c2956b4C | |
rgb(194, 149, 107, 60%) | #c2956b99 | |
rgb(194, 149, 107, 80%) | #c2956bCC | |
rgb(194, 149, 107, 100%) | #c2956bFF |
Saturated and desaturated colors of #c2956b
HSL Code | Preview |
---|---|
hsl(29, 10%, 59%) | |
hsl(29, 20%, 59%) | |
hsl(29, 40%, 59%) | |
hsl(29, 60%, 59%) | |
hsl(29, 80%, 59%) | |
hsl(29, 100%, 59%) |
#c2956b Color Usage In CSS
body { color: #c2956b; } p { color: rgb(194, 149, 107); } header { border-bottom:1px solid #c2956b; }