#0cb36a Color
Color Codes | |
---|---|
Hex Code | #0cb36a |
RGB Code | rgb(12, 179, 106) |
HSL Code | hsl(154, 87%, 37%) |
#0cb36a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(12, 179, 106); }
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(154, 87%, 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 #0cb36a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(12, 179, 106, 10%) | #0cb36a1a | |
rgb(12, 179, 106, 20%) | #0cb36a33 | |
rgb(12, 179, 106, 40%) | #0cb36a4C | |
rgb(12, 179, 106, 60%) | #0cb36a99 | |
rgb(12, 179, 106, 80%) | #0cb36aCC | |
rgb(12, 179, 106, 100%) | #0cb36aFF |
Saturated and desaturated colors of #0cb36a
HSL Code | Preview |
---|---|
hsl(154, 10%, 37%) | |
hsl(154, 20%, 37%) | |
hsl(154, 40%, 37%) | |
hsl(154, 60%, 37%) | |
hsl(154, 80%, 37%) | |
hsl(154, 100%, 37%) |
#0cb36a Color Usage In CSS
body { color: #0cb36a; } p { color: rgb(12, 179, 106); } header { border-bottom:1px solid #0cb36a; }