#12d887 Color
Color Codes | |
---|---|
Hex Code | #12d887 |
RGB Code | rgb(18, 216, 135) |
HSL Code | hsl(155, 85%, 46%) |
#12d887 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(18, 216, 135); }
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, 85%, 46%); }
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 #12d887
RGB Code | Hex Code | Preview |
---|---|---|
rgb(18, 216, 135, 10%) | #12d8871a | |
rgb(18, 216, 135, 20%) | #12d88733 | |
rgb(18, 216, 135, 40%) | #12d8874C | |
rgb(18, 216, 135, 60%) | #12d88799 | |
rgb(18, 216, 135, 80%) | #12d887CC | |
rgb(18, 216, 135, 100%) | #12d887FF |
Saturated and desaturated colors of #12d887
HSL Code | Preview |
---|---|
hsl(155, 10%, 46%) | |
hsl(155, 20%, 46%) | |
hsl(155, 40%, 46%) | |
hsl(155, 60%, 46%) | |
hsl(155, 80%, 46%) | |
hsl(155, 100%, 46%) |
#12d887 Color Usage In CSS
body { color: #12d887; } p { color: rgb(18, 216, 135); } header { border-bottom:1px solid #12d887; }