#4b5b50 Color
Color Codes | |
---|---|
Hex Code | #4b5b50 |
RGB Code | rgb(75, 91, 80) |
HSL Code | hsl(139, 10%, 33%) |
#4b5b50 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(75, 91, 80); }
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(139, 10%, 33%); }
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 #4b5b50
RGB Code | Hex Code | Preview |
---|---|---|
rgb(75, 91, 80, 10%) | #4b5b501a | |
rgb(75, 91, 80, 20%) | #4b5b5033 | |
rgb(75, 91, 80, 40%) | #4b5b504C | |
rgb(75, 91, 80, 60%) | #4b5b5099 | |
rgb(75, 91, 80, 80%) | #4b5b50CC | |
rgb(75, 91, 80, 100%) | #4b5b50FF |
Saturated and desaturated colors of #4b5b50
HSL Code | Preview |
---|---|
hsl(139, 10%, 33%) | |
hsl(139, 20%, 33%) | |
hsl(139, 40%, 33%) | |
hsl(139, 60%, 33%) | |
hsl(139, 80%, 33%) | |
hsl(139, 100%, 33%) |
#4b5b50 Color Usage In CSS
body { color: #4b5b50; } p { color: rgb(75, 91, 80); } header { border-bottom:1px solid #4b5b50; }