#4a4944 Color
Color Codes | |
---|---|
Hex Code | #4a4944 |
RGB Code | rgb(74, 73, 68) |
HSL Code | hsl(50, 4%, 28%) |
#4a4944 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(74, 73, 68); }
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(50, 4%, 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 #4a4944
RGB Code | Hex Code | Preview |
---|---|---|
rgb(74, 73, 68, 10%) | #4a49441a | |
rgb(74, 73, 68, 20%) | #4a494433 | |
rgb(74, 73, 68, 40%) | #4a49444C | |
rgb(74, 73, 68, 60%) | #4a494499 | |
rgb(74, 73, 68, 80%) | #4a4944CC | |
rgb(74, 73, 68, 100%) | #4a4944FF |
Saturated and desaturated colors of #4a4944
HSL Code | Preview |
---|---|
hsl(50, 10%, 28%) | |
hsl(50, 20%, 28%) | |
hsl(50, 40%, 28%) | |
hsl(50, 60%, 28%) | |
hsl(50, 80%, 28%) | |
hsl(50, 100%, 28%) |
#4a4944 Color Usage In CSS
body { color: #4a4944; } p { color: rgb(74, 73, 68); } header { border-bottom:1px solid #4a4944; }