#4c9579 Color
Color Codes | |
---|---|
Hex Code | #4c9579 |
RGB Code | rgb(76, 149, 121) |
HSL Code | hsl(157, 32%, 44%) |
#4c9579 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(76, 149, 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(157, 32%, 44%); }
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 #4c9579
RGB Code | Hex Code | Preview |
---|---|---|
rgb(76, 149, 121, 10%) | #4c95791a | |
rgb(76, 149, 121, 20%) | #4c957933 | |
rgb(76, 149, 121, 40%) | #4c95794C | |
rgb(76, 149, 121, 60%) | #4c957999 | |
rgb(76, 149, 121, 80%) | #4c9579CC | |
rgb(76, 149, 121, 100%) | #4c9579FF |
Saturated and desaturated colors of #4c9579
HSL Code | Preview |
---|---|
hsl(157, 10%, 44%) | |
hsl(157, 20%, 44%) | |
hsl(157, 40%, 44%) | |
hsl(157, 60%, 44%) | |
hsl(157, 80%, 44%) | |
hsl(157, 100%, 44%) |
#4c9579 Color Usage In CSS
body { color: #4c9579; } p { color: rgb(76, 149, 121); } header { border-bottom:1px solid #4c9579; }