#4f400c Color
Color Codes | |
---|---|
Hex Code | #4f400c |
RGB Code | rgb(79, 64, 12) |
HSL Code | hsl(47, 74%, 18%) |
#4f400c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(79, 64, 12); }
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(47, 74%, 18%); }
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 #4f400c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(79, 64, 12, 10%) | #4f400c1a | |
rgb(79, 64, 12, 20%) | #4f400c33 | |
rgb(79, 64, 12, 40%) | #4f400c4C | |
rgb(79, 64, 12, 60%) | #4f400c99 | |
rgb(79, 64, 12, 80%) | #4f400cCC | |
rgb(79, 64, 12, 100%) | #4f400cFF |
Saturated and desaturated colors of #4f400c
HSL Code | Preview |
---|---|
hsl(47, 10%, 18%) | |
hsl(47, 20%, 18%) | |
hsl(47, 40%, 18%) | |
hsl(47, 60%, 18%) | |
hsl(47, 80%, 18%) | |
hsl(47, 100%, 18%) |
#4f400c Color Usage In CSS
body { color: #4f400c; } p { color: rgb(79, 64, 12); } header { border-bottom:1px solid #4f400c; }