#12c2f0 Color
Color Codes | |
---|---|
Hex Code | #12c2f0 |
RGB Code | rgb(18, 194, 240) |
HSL Code | hsl(192, 88%, 51%) |
#12c2f0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(18, 194, 240); }
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(192, 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 #12c2f0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(18, 194, 240, 10%) | #12c2f01a | |
rgb(18, 194, 240, 20%) | #12c2f033 | |
rgb(18, 194, 240, 40%) | #12c2f04C | |
rgb(18, 194, 240, 60%) | #12c2f099 | |
rgb(18, 194, 240, 80%) | #12c2f0CC | |
rgb(18, 194, 240, 100%) | #12c2f0FF |
Saturated and desaturated colors of #12c2f0
HSL Code | Preview |
---|---|
hsl(192, 10%, 51%) | |
hsl(192, 20%, 51%) | |
hsl(192, 40%, 51%) | |
hsl(192, 60%, 51%) | |
hsl(192, 80%, 51%) | |
hsl(192, 100%, 51%) |
#12c2f0 Color Usage In CSS
body { color: #12c2f0; } p { color: rgb(18, 194, 240); } header { border-bottom:1px solid #12c2f0; }