#04d916 Color
Color Codes | |
---|---|
Hex Code | #04d916 |
RGB Code | rgb(04, 217, 22) |
HSL Code | hsl(125, 96%, 43%) |
#04d916 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(04, 217, 22); }
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(125, 96%, 43%); }
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 #04d916
RGB Code | Hex Code | Preview |
---|---|---|
rgb(04, 217, 22, 10%) | #04d9161a | |
rgb(04, 217, 22, 20%) | #04d91633 | |
rgb(04, 217, 22, 40%) | #04d9164C | |
rgb(04, 217, 22, 60%) | #04d91699 | |
rgb(04, 217, 22, 80%) | #04d916CC | |
rgb(04, 217, 22, 100%) | #04d916FF |
Saturated and desaturated colors of #04d916
HSL Code | Preview |
---|---|
hsl(125, 10%, 43%) | |
hsl(125, 20%, 43%) | |
hsl(125, 40%, 43%) | |
hsl(125, 60%, 43%) | |
hsl(125, 80%, 43%) | |
hsl(125, 100%, 43%) |
#04d916 Color Usage In CSS
body { color: #04d916; } p { color: rgb(04, 217, 22); } header { border-bottom:1px solid #04d916; }