#05ba2d Color
Color Codes | |
---|---|
Hex Code | #05ba2d |
RGB Code | rgb(05, 186, 45) |
HSL Code | hsl(133, 95%, 37%) |
#05ba2d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(05, 186, 45); }
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(133, 95%, 37%); }
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 #05ba2d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(05, 186, 45, 10%) | #05ba2d1a | |
rgb(05, 186, 45, 20%) | #05ba2d33 | |
rgb(05, 186, 45, 40%) | #05ba2d4C | |
rgb(05, 186, 45, 60%) | #05ba2d99 | |
rgb(05, 186, 45, 80%) | #05ba2dCC | |
rgb(05, 186, 45, 100%) | #05ba2dFF |
Saturated and desaturated colors of #05ba2d
HSL Code | Preview |
---|---|
hsl(133, 10%, 37%) | |
hsl(133, 20%, 37%) | |
hsl(133, 40%, 37%) | |
hsl(133, 60%, 37%) | |
hsl(133, 80%, 37%) | |
hsl(133, 100%, 37%) |
#05ba2d Color Usage In CSS
body { color: #05ba2d; } p { color: rgb(05, 186, 45); } header { border-bottom:1px solid #05ba2d; }