#4dd401 Color
Color Codes | |
---|---|
Hex Code | #4dd401 |
RGB Code | rgb(77, 212, 01) |
HSL Code | hsl(98, 99%, 42%) |
#4dd401 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(77, 212, 01); }
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(98, 99%, 42%); }
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 #4dd401
RGB Code | Hex Code | Preview |
---|---|---|
rgb(77, 212, 01, 10%) | #4dd4011a | |
rgb(77, 212, 01, 20%) | #4dd40133 | |
rgb(77, 212, 01, 40%) | #4dd4014C | |
rgb(77, 212, 01, 60%) | #4dd40199 | |
rgb(77, 212, 01, 80%) | #4dd401CC | |
rgb(77, 212, 01, 100%) | #4dd401FF |
Saturated and desaturated colors of #4dd401
HSL Code | Preview |
---|---|
hsl(98, 10%, 42%) | |
hsl(98, 20%, 42%) | |
hsl(98, 40%, 42%) | |
hsl(98, 60%, 42%) | |
hsl(98, 80%, 42%) | |
hsl(98, 100%, 42%) |
#4dd401 Color Usage In CSS
body { color: #4dd401; } p { color: rgb(77, 212, 01); } header { border-bottom:1px solid #4dd401; }