#4fa481 Color
Color Codes | |
---|---|
Hex Code | #4fa481 |
RGB Code | rgb(79, 164, 129) |
HSL Code | hsl(155, 35%, 48%) |
#4fa481 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(79, 164, 129); }
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(155, 35%, 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 #4fa481
RGB Code | Hex Code | Preview |
---|---|---|
rgb(79, 164, 129, 10%) | #4fa4811a | |
rgb(79, 164, 129, 20%) | #4fa48133 | |
rgb(79, 164, 129, 40%) | #4fa4814C | |
rgb(79, 164, 129, 60%) | #4fa48199 | |
rgb(79, 164, 129, 80%) | #4fa481CC | |
rgb(79, 164, 129, 100%) | #4fa481FF |
Saturated and desaturated colors of #4fa481
HSL Code | Preview |
---|---|
hsl(155, 10%, 48%) | |
hsl(155, 20%, 48%) | |
hsl(155, 40%, 48%) | |
hsl(155, 60%, 48%) | |
hsl(155, 80%, 48%) | |
hsl(155, 100%, 48%) |
#4fa481 Color Usage In CSS
body { color: #4fa481; } p { color: rgb(79, 164, 129); } header { border-bottom:1px solid #4fa481; }