#0c911f Color
Color Codes | |
---|---|
Hex Code | #0c911f |
RGB Code | rgb(12, 145, 31) |
HSL Code | hsl(129, 85%, 31%) |
#0c911f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(12, 145, 31); }
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(129, 85%, 31%); }
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 #0c911f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(12, 145, 31, 10%) | #0c911f1a | |
rgb(12, 145, 31, 20%) | #0c911f33 | |
rgb(12, 145, 31, 40%) | #0c911f4C | |
rgb(12, 145, 31, 60%) | #0c911f99 | |
rgb(12, 145, 31, 80%) | #0c911fCC | |
rgb(12, 145, 31, 100%) | #0c911fFF |
Saturated and desaturated colors of #0c911f
HSL Code | Preview |
---|---|
hsl(129, 10%, 31%) | |
hsl(129, 20%, 31%) | |
hsl(129, 40%, 31%) | |
hsl(129, 60%, 31%) | |
hsl(129, 80%, 31%) | |
hsl(129, 100%, 31%) |
#0c911f Color Usage In CSS
body { color: #0c911f; } p { color: rgb(12, 145, 31); } header { border-bottom:1px solid #0c911f; }