#cf7e72 Color
Color Codes | |
---|---|
Hex Code | #cf7e72 |
RGB Code | rgb(207, 126, 114) |
HSL Code | hsl(8, 49%, 63%) |
#cf7e72 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(207, 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(8, 49%, 63%); }
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 #cf7e72
RGB Code | Hex Code | Preview |
---|---|---|
rgb(207, 126, 114, 10%) | #cf7e721a | |
rgb(207, 126, 114, 20%) | #cf7e7233 | |
rgb(207, 126, 114, 40%) | #cf7e724C | |
rgb(207, 126, 114, 60%) | #cf7e7299 | |
rgb(207, 126, 114, 80%) | #cf7e72CC | |
rgb(207, 126, 114, 100%) | #cf7e72FF |
Saturated and desaturated colors of #cf7e72
HSL Code | Preview |
---|---|
hsl(8, 10%, 63%) | |
hsl(8, 20%, 63%) | |
hsl(8, 40%, 63%) | |
hsl(8, 60%, 63%) | |
hsl(8, 80%, 63%) | |
hsl(8, 100%, 63%) |
#cf7e72 Color Usage In CSS
body { color: #cf7e72; } p { color: rgb(207, 126, 114); } header { border-bottom:1px solid #cf7e72; }