#4c4e17 Color
Color Codes | |
---|---|
Hex Code | #4c4e17 |
RGB Code | rgb(76, 78, 23) |
HSL Code | hsl(62, 54%, 20%) |
#4c4e17 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(76, 78, 23); }
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(62, 54%, 20%); }
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 #4c4e17
RGB Code | Hex Code | Preview |
---|---|---|
rgb(76, 78, 23, 10%) | #4c4e171a | |
rgb(76, 78, 23, 20%) | #4c4e1733 | |
rgb(76, 78, 23, 40%) | #4c4e174C | |
rgb(76, 78, 23, 60%) | #4c4e1799 | |
rgb(76, 78, 23, 80%) | #4c4e17CC | |
rgb(76, 78, 23, 100%) | #4c4e17FF |
Saturated and desaturated colors of #4c4e17
HSL Code | Preview |
---|---|
hsl(62, 10%, 20%) | |
hsl(62, 20%, 20%) | |
hsl(62, 40%, 20%) | |
hsl(62, 60%, 20%) | |
hsl(62, 80%, 20%) | |
hsl(62, 100%, 20%) |
#4c4e17 Color Usage In CSS
body { color: #4c4e17; } p { color: rgb(76, 78, 23); } header { border-bottom:1px solid #4c4e17; }