#0cbb73 Color
Color Codes | |
---|---|
Hex Code | #0cbb73 |
RGB Code | rgb(12, 187, 115) |
HSL Code | hsl(155, 88%, 39%) |
#0cbb73 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(12, 187, 115); }
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(155, 88%, 39%); }
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 #0cbb73
RGB Code | Hex Code | Preview |
---|---|---|
rgb(12, 187, 115, 10%) | #0cbb731a | |
rgb(12, 187, 115, 20%) | #0cbb7333 | |
rgb(12, 187, 115, 40%) | #0cbb734C | |
rgb(12, 187, 115, 60%) | #0cbb7399 | |
rgb(12, 187, 115, 80%) | #0cbb73CC | |
rgb(12, 187, 115, 100%) | #0cbb73FF |
Saturated and desaturated colors of #0cbb73
HSL Code | Preview |
---|---|
hsl(155, 10%, 39%) | |
hsl(155, 20%, 39%) | |
hsl(155, 40%, 39%) | |
hsl(155, 60%, 39%) | |
hsl(155, 80%, 39%) | |
hsl(155, 100%, 39%) |
#0cbb73 Color Usage In CSS
body { color: #0cbb73; } p { color: rgb(12, 187, 115); } header { border-bottom:1px solid #0cbb73; }