#4f3e41 Color
Color Codes | |
---|---|
Hex Code | #4f3e41 |
RGB Code | rgb(79, 62, 65) |
HSL Code | hsl(349, 12%, 28%) |
#4f3e41 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(79, 62, 65); }
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(349, 12%, 28%); }
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 #4f3e41
RGB Code | Hex Code | Preview |
---|---|---|
rgb(79, 62, 65, 10%) | #4f3e411a | |
rgb(79, 62, 65, 20%) | #4f3e4133 | |
rgb(79, 62, 65, 40%) | #4f3e414C | |
rgb(79, 62, 65, 60%) | #4f3e4199 | |
rgb(79, 62, 65, 80%) | #4f3e41CC | |
rgb(79, 62, 65, 100%) | #4f3e41FF |
Saturated and desaturated colors of #4f3e41
HSL Code | Preview |
---|---|
hsl(349, 10%, 28%) | |
hsl(349, 20%, 28%) | |
hsl(349, 40%, 28%) | |
hsl(349, 60%, 28%) | |
hsl(349, 80%, 28%) | |
hsl(349, 100%, 28%) |
#4f3e41 Color Usage In CSS
body { color: #4f3e41; } p { color: rgb(79, 62, 65); } header { border-bottom:1px solid #4f3e41; }