#4d8479 Color
Color Codes | |
---|---|
Hex Code | #4d8479 |
RGB Code | rgb(77, 132, 121) |
HSL Code | hsl(168, 26%, 41%) |
#4d8479 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(77, 132, 121); }
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(168, 26%, 41%); }
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 #4d8479
RGB Code | Hex Code | Preview |
---|---|---|
rgb(77, 132, 121, 10%) | #4d84791a | |
rgb(77, 132, 121, 20%) | #4d847933 | |
rgb(77, 132, 121, 40%) | #4d84794C | |
rgb(77, 132, 121, 60%) | #4d847999 | |
rgb(77, 132, 121, 80%) | #4d8479CC | |
rgb(77, 132, 121, 100%) | #4d8479FF |
Saturated and desaturated colors of #4d8479
HSL Code | Preview |
---|---|
hsl(168, 10%, 41%) | |
hsl(168, 20%, 41%) | |
hsl(168, 40%, 41%) | |
hsl(168, 60%, 41%) | |
hsl(168, 80%, 41%) | |
hsl(168, 100%, 41%) |
#4d8479 Color Usage In CSS
body { color: #4d8479; } p { color: rgb(77, 132, 121); } header { border-bottom:1px solid #4d8479; }