#cf7a2f Color
Color Codes | |
---|---|
Hex Code | #cf7a2f |
RGB Code | rgb(207, 122, 47) |
HSL Code | hsl(28, 63%, 50%) |
#cf7a2f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(207, 122, 47); }
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(28, 63%, 50%); }
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 #cf7a2f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(207, 122, 47, 10%) | #cf7a2f1a | |
rgb(207, 122, 47, 20%) | #cf7a2f33 | |
rgb(207, 122, 47, 40%) | #cf7a2f4C | |
rgb(207, 122, 47, 60%) | #cf7a2f99 | |
rgb(207, 122, 47, 80%) | #cf7a2fCC | |
rgb(207, 122, 47, 100%) | #cf7a2fFF |
Saturated and desaturated colors of #cf7a2f
HSL Code | Preview |
---|---|
hsl(28, 10%, 50%) | |
hsl(28, 20%, 50%) | |
hsl(28, 40%, 50%) | |
hsl(28, 60%, 50%) | |
hsl(28, 80%, 50%) | |
hsl(28, 100%, 50%) |
#cf7a2f Color Usage In CSS
body { color: #cf7a2f; } p { color: rgb(207, 122, 47); } header { border-bottom:1px solid #cf7a2f; }