#4adc28 Color
Color Codes | |
---|---|
Hex Code | #4adc28 |
RGB Code | rgb(74, 220, 40) |
HSL Code | hsl(109, 72%, 51%) |
#4adc28 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(74, 220, 40); }
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(109, 72%, 51%); }
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 #4adc28
RGB Code | Hex Code | Preview |
---|---|---|
rgb(74, 220, 40, 10%) | #4adc281a | |
rgb(74, 220, 40, 20%) | #4adc2833 | |
rgb(74, 220, 40, 40%) | #4adc284C | |
rgb(74, 220, 40, 60%) | #4adc2899 | |
rgb(74, 220, 40, 80%) | #4adc28CC | |
rgb(74, 220, 40, 100%) | #4adc28FF |
Saturated and desaturated colors of #4adc28
HSL Code | Preview |
---|---|
hsl(109, 10%, 51%) | |
hsl(109, 20%, 51%) | |
hsl(109, 40%, 51%) | |
hsl(109, 60%, 51%) | |
hsl(109, 80%, 51%) | |
hsl(109, 100%, 51%) |
#4adc28 Color Usage In CSS
body { color: #4adc28; } p { color: rgb(74, 220, 40); } header { border-bottom:1px solid #4adc28; }