#05940b Color
Color Codes | |
---|---|
Hex Code | #05940b |
RGB Code | rgb(05, 148, 11) |
HSL Code | hsl(123, 93%, 30%) |
#05940b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(05, 148, 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(123, 93%, 30%); }
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 #05940b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(05, 148, 11, 10%) | #05940b1a | |
rgb(05, 148, 11, 20%) | #05940b33 | |
rgb(05, 148, 11, 40%) | #05940b4C | |
rgb(05, 148, 11, 60%) | #05940b99 | |
rgb(05, 148, 11, 80%) | #05940bCC | |
rgb(05, 148, 11, 100%) | #05940bFF |
Saturated and desaturated colors of #05940b
HSL Code | Preview |
---|---|
hsl(123, 10%, 30%) | |
hsl(123, 20%, 30%) | |
hsl(123, 40%, 30%) | |
hsl(123, 60%, 30%) | |
hsl(123, 80%, 30%) | |
hsl(123, 100%, 30%) |
#05940b Color Usage In CSS
body { color: #05940b; } p { color: rgb(05, 148, 11); } header { border-bottom:1px solid #05940b; }