#1cb48c Color
Color Codes | |
---|---|
Hex Code | #1cb48c |
RGB Code | rgb(28, 180, 140) |
HSL Code | hsl(164, 73%, 41%) |
#1cb48c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(28, 180, 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(164, 73%, 41%); }
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 #1cb48c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(28, 180, 140, 10%) | #1cb48c1a | |
rgb(28, 180, 140, 20%) | #1cb48c33 | |
rgb(28, 180, 140, 40%) | #1cb48c4C | |
rgb(28, 180, 140, 60%) | #1cb48c99 | |
rgb(28, 180, 140, 80%) | #1cb48cCC | |
rgb(28, 180, 140, 100%) | #1cb48cFF |
Saturated and desaturated colors of #1cb48c
HSL Code | Preview |
---|---|
hsl(164, 10%, 41%) | |
hsl(164, 20%, 41%) | |
hsl(164, 40%, 41%) | |
hsl(164, 60%, 41%) | |
hsl(164, 80%, 41%) | |
hsl(164, 100%, 41%) |
#1cb48c Color Usage In CSS
body { color: #1cb48c; } p { color: rgb(28, 180, 140); } header { border-bottom:1px solid #1cb48c; }