#42d50b Color
Color Codes | |
---|---|
Hex Code | #42d50b |
RGB Code | rgb(66, 213, 11) |
HSL Code | hsl(104, 90%, 44%) |
#42d50b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(66, 213, 11); }
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(104, 90%, 44%); }
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 #42d50b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(66, 213, 11, 10%) | #42d50b1a | |
rgb(66, 213, 11, 20%) | #42d50b33 | |
rgb(66, 213, 11, 40%) | #42d50b4C | |
rgb(66, 213, 11, 60%) | #42d50b99 | |
rgb(66, 213, 11, 80%) | #42d50bCC | |
rgb(66, 213, 11, 100%) | #42d50bFF |
Saturated and desaturated colors of #42d50b
HSL Code | Preview |
---|---|
hsl(104, 10%, 44%) | |
hsl(104, 20%, 44%) | |
hsl(104, 40%, 44%) | |
hsl(104, 60%, 44%) | |
hsl(104, 80%, 44%) | |
hsl(104, 100%, 44%) |
#42d50b Color Usage In CSS
body { color: #42d50b; } p { color: rgb(66, 213, 11); } header { border-bottom:1px solid #42d50b; }