#cf837f Color
Color Codes | |
---|---|
Hex Code | #cf837f |
RGB Code | rgb(207, 131, 127) |
HSL Code | hsl(3, 45%, 65%) |
#cf837f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(207, 131, 127); }
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(3, 45%, 65%); }
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 #cf837f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(207, 131, 127, 10%) | #cf837f1a | |
rgb(207, 131, 127, 20%) | #cf837f33 | |
rgb(207, 131, 127, 40%) | #cf837f4C | |
rgb(207, 131, 127, 60%) | #cf837f99 | |
rgb(207, 131, 127, 80%) | #cf837fCC | |
rgb(207, 131, 127, 100%) | #cf837fFF |
Saturated and desaturated colors of #cf837f
HSL Code | Preview |
---|---|
hsl(3, 10%, 65%) | |
hsl(3, 20%, 65%) | |
hsl(3, 40%, 65%) | |
hsl(3, 60%, 65%) | |
hsl(3, 80%, 65%) | |
hsl(3, 100%, 65%) |
#cf837f Color Usage In CSS
body { color: #cf837f; } p { color: rgb(207, 131, 127); } header { border-bottom:1px solid #cf837f; }