#74a04c Color
Color Codes | |
---|---|
Hex Code | #74a04c |
RGB Code | rgb(116, 160, 76) |
HSL Code | hsl(91, 36%, 46%) |
#74a04c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(116, 160, 76); }
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(91, 36%, 46%); }
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 #74a04c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(116, 160, 76, 10%) | #74a04c1a | |
rgb(116, 160, 76, 20%) | #74a04c33 | |
rgb(116, 160, 76, 40%) | #74a04c4C | |
rgb(116, 160, 76, 60%) | #74a04c99 | |
rgb(116, 160, 76, 80%) | #74a04cCC | |
rgb(116, 160, 76, 100%) | #74a04cFF |
Saturated and desaturated colors of #74a04c
HSL Code | Preview |
---|---|
hsl(91, 10%, 46%) | |
hsl(91, 20%, 46%) | |
hsl(91, 40%, 46%) | |
hsl(91, 60%, 46%) | |
hsl(91, 80%, 46%) | |
hsl(91, 100%, 46%) |
#74a04c Color Usage In CSS
body { color: #74a04c; } p { color: rgb(116, 160, 76); } header { border-bottom:1px solid #74a04c; }