#12ba6a Color
Color Codes | |
---|---|
Hex Code | #12ba6a |
RGB Code | rgb(18, 186, 106) |
HSL Code | hsl(151, 82%, 40%) |
#12ba6a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(18, 186, 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(151, 82%, 40%); }
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 #12ba6a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(18, 186, 106, 10%) | #12ba6a1a | |
rgb(18, 186, 106, 20%) | #12ba6a33 | |
rgb(18, 186, 106, 40%) | #12ba6a4C | |
rgb(18, 186, 106, 60%) | #12ba6a99 | |
rgb(18, 186, 106, 80%) | #12ba6aCC | |
rgb(18, 186, 106, 100%) | #12ba6aFF |
Saturated and desaturated colors of #12ba6a
HSL Code | Preview |
---|---|
hsl(151, 10%, 40%) | |
hsl(151, 20%, 40%) | |
hsl(151, 40%, 40%) | |
hsl(151, 60%, 40%) | |
hsl(151, 80%, 40%) | |
hsl(151, 100%, 40%) |
#12ba6a Color Usage In CSS
body { color: #12ba6a; } p { color: rgb(18, 186, 106); } header { border-bottom:1px solid #12ba6a; }