#45e30c Color
Color Codes | |
---|---|
Hex Code | #45e30c |
RGB Code | rgb(69, 227, 12) |
HSL Code | hsl(104, 90%, 47%) |
#45e30c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(69, 227, 12); }
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%, 47%); }
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 #45e30c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(69, 227, 12, 10%) | #45e30c1a | |
rgb(69, 227, 12, 20%) | #45e30c33 | |
rgb(69, 227, 12, 40%) | #45e30c4C | |
rgb(69, 227, 12, 60%) | #45e30c99 | |
rgb(69, 227, 12, 80%) | #45e30cCC | |
rgb(69, 227, 12, 100%) | #45e30cFF |
Saturated and desaturated colors of #45e30c
HSL Code | Preview |
---|---|
hsl(104, 10%, 47%) | |
hsl(104, 20%, 47%) | |
hsl(104, 40%, 47%) | |
hsl(104, 60%, 47%) | |
hsl(104, 80%, 47%) | |
hsl(104, 100%, 47%) |
#45e30c Color Usage In CSS
body { color: #45e30c; } p { color: rgb(69, 227, 12); } header { border-bottom:1px solid #45e30c; }