#12f08c Color
Color Codes | |
---|---|
Hex Code | #12f08c |
RGB Code | rgb(18, 240, 140) |
HSL Code | hsl(153, 88%, 51%) |
#12f08c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(18, 240, 140); }
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(153, 88%, 51%); }
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 #12f08c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(18, 240, 140, 10%) | #12f08c1a | |
rgb(18, 240, 140, 20%) | #12f08c33 | |
rgb(18, 240, 140, 40%) | #12f08c4C | |
rgb(18, 240, 140, 60%) | #12f08c99 | |
rgb(18, 240, 140, 80%) | #12f08cCC | |
rgb(18, 240, 140, 100%) | #12f08cFF |
Saturated and desaturated colors of #12f08c
HSL Code | Preview |
---|---|
hsl(153, 10%, 51%) | |
hsl(153, 20%, 51%) | |
hsl(153, 40%, 51%) | |
hsl(153, 60%, 51%) | |
hsl(153, 80%, 51%) | |
hsl(153, 100%, 51%) |
#12f08c Color Usage In CSS
body { color: #12f08c; } p { color: rgb(18, 240, 140); } header { border-bottom:1px solid #12f08c; }