#797407 Color
Color Codes | |
---|---|
Hex Code | #797407 |
RGB Code | rgb(121, 116, 07) |
HSL Code | hsl(57, 89%, 25%) |
#797407 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(121, 116, 07); }
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, 89%, 25%); }
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 #797407
RGB Code | Hex Code | Preview |
---|---|---|
rgb(121, 116, 07, 10%) | #7974071a | |
rgb(121, 116, 07, 20%) | #79740733 | |
rgb(121, 116, 07, 40%) | #7974074C | |
rgb(121, 116, 07, 60%) | #79740799 | |
rgb(121, 116, 07, 80%) | #797407CC | |
rgb(121, 116, 07, 100%) | #797407FF |
Saturated and desaturated colors of #797407
HSL Code | Preview |
---|---|
hsl(57, 10%, 25%) | |
hsl(57, 20%, 25%) | |
hsl(57, 40%, 25%) | |
hsl(57, 60%, 25%) | |
hsl(57, 80%, 25%) | |
hsl(57, 100%, 25%) |
#797407 Color Usage In CSS
body { color: #797407; } p { color: rgb(121, 116, 07); } header { border-bottom:1px solid #797407; }