#c27e72 Color
Color Codes | |
---|---|
Hex Code | #c27e72 |
RGB Code | rgb(194, 126, 114) |
HSL Code | hsl(9, 40%, 60%) |
#c27e72 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(194, 126, 114); }
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(9, 40%, 60%); }
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 #c27e72
RGB Code | Hex Code | Preview |
---|---|---|
rgb(194, 126, 114, 10%) | #c27e721a | |
rgb(194, 126, 114, 20%) | #c27e7233 | |
rgb(194, 126, 114, 40%) | #c27e724C | |
rgb(194, 126, 114, 60%) | #c27e7299 | |
rgb(194, 126, 114, 80%) | #c27e72CC | |
rgb(194, 126, 114, 100%) | #c27e72FF |
Saturated and desaturated colors of #c27e72
HSL Code | Preview |
---|---|
hsl(9, 10%, 60%) | |
hsl(9, 20%, 60%) | |
hsl(9, 40%, 60%) | |
hsl(9, 60%, 60%) | |
hsl(9, 80%, 60%) | |
hsl(9, 100%, 60%) |
#c27e72 Color Usage In CSS
body { color: #c27e72; } p { color: rgb(194, 126, 114); } header { border-bottom:1px solid #c27e72; }