#707f0b Color
Color Codes | |
---|---|
Hex Code | #707f0b |
RGB Code | rgb(112, 127, 11) |
HSL Code | hsl(68, 84%, 27%) |
#707f0b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(112, 127, 11); }
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(68, 84%, 27%); }
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 #707f0b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(112, 127, 11, 10%) | #707f0b1a | |
rgb(112, 127, 11, 20%) | #707f0b33 | |
rgb(112, 127, 11, 40%) | #707f0b4C | |
rgb(112, 127, 11, 60%) | #707f0b99 | |
rgb(112, 127, 11, 80%) | #707f0bCC | |
rgb(112, 127, 11, 100%) | #707f0bFF |
Saturated and desaturated colors of #707f0b
HSL Code | Preview |
---|---|
hsl(68, 10%, 27%) | |
hsl(68, 20%, 27%) | |
hsl(68, 40%, 27%) | |
hsl(68, 60%, 27%) | |
hsl(68, 80%, 27%) | |
hsl(68, 100%, 27%) |
#707f0b Color Usage In CSS
body { color: #707f0b; } p { color: rgb(112, 127, 11); } header { border-bottom:1px solid #707f0b; }