#1ca86c Color
Color Codes | |
---|---|
Hex Code | #1ca86c |
RGB Code | rgb(28, 168, 108) |
HSL Code | hsl(154, 71%, 38%) |
#1ca86c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(28, 168, 108); }
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(154, 71%, 38%); }
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 #1ca86c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(28, 168, 108, 10%) | #1ca86c1a | |
rgb(28, 168, 108, 20%) | #1ca86c33 | |
rgb(28, 168, 108, 40%) | #1ca86c4C | |
rgb(28, 168, 108, 60%) | #1ca86c99 | |
rgb(28, 168, 108, 80%) | #1ca86cCC | |
rgb(28, 168, 108, 100%) | #1ca86cFF |
Saturated and desaturated colors of #1ca86c
HSL Code | Preview |
---|---|
hsl(154, 10%, 38%) | |
hsl(154, 20%, 38%) | |
hsl(154, 40%, 38%) | |
hsl(154, 60%, 38%) | |
hsl(154, 80%, 38%) | |
hsl(154, 100%, 38%) |
#1ca86c Color Usage In CSS
body { color: #1ca86c; } p { color: rgb(28, 168, 108); } header { border-bottom:1px solid #1ca86c; }