#7f7c3a Color
Color Codes | |
---|---|
Hex Code | #7f7c3a |
RGB Code | rgb(127, 124, 58) |
HSL Code | hsl(57, 37%, 36%) |
#7f7c3a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(127, 124, 58); }
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(57, 37%, 36%); }
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 #7f7c3a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(127, 124, 58, 10%) | #7f7c3a1a | |
rgb(127, 124, 58, 20%) | #7f7c3a33 | |
rgb(127, 124, 58, 40%) | #7f7c3a4C | |
rgb(127, 124, 58, 60%) | #7f7c3a99 | |
rgb(127, 124, 58, 80%) | #7f7c3aCC | |
rgb(127, 124, 58, 100%) | #7f7c3aFF |
Saturated and desaturated colors of #7f7c3a
HSL Code | Preview |
---|---|
hsl(57, 10%, 36%) | |
hsl(57, 20%, 36%) | |
hsl(57, 40%, 36%) | |
hsl(57, 60%, 36%) | |
hsl(57, 80%, 36%) | |
hsl(57, 100%, 36%) |
#7f7c3a Color Usage In CSS
body { color: #7f7c3a; } p { color: rgb(127, 124, 58); } header { border-bottom:1px solid #7f7c3a; }