#4fa677 Color
Color Codes | |
---|---|
Hex Code | #4fa677 |
RGB Code | rgb(79, 166, 119) |
HSL Code | hsl(148, 36%, 48%) |
#4fa677 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(79, 166, 119); }
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(148, 36%, 48%); }
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 #4fa677
RGB Code | Hex Code | Preview |
---|---|---|
rgb(79, 166, 119, 10%) | #4fa6771a | |
rgb(79, 166, 119, 20%) | #4fa67733 | |
rgb(79, 166, 119, 40%) | #4fa6774C | |
rgb(79, 166, 119, 60%) | #4fa67799 | |
rgb(79, 166, 119, 80%) | #4fa677CC | |
rgb(79, 166, 119, 100%) | #4fa677FF |
Saturated and desaturated colors of #4fa677
HSL Code | Preview |
---|---|
hsl(148, 10%, 48%) | |
hsl(148, 20%, 48%) | |
hsl(148, 40%, 48%) | |
hsl(148, 60%, 48%) | |
hsl(148, 80%, 48%) | |
hsl(148, 100%, 48%) |
#4fa677 Color Usage In CSS
body { color: #4fa677; } p { color: rgb(79, 166, 119); } header { border-bottom:1px solid #4fa677; }