#1bc61c Color
Color Codes | |
---|---|
Hex Code | #1bc61c |
RGB Code | rgb(27, 198, 28) |
HSL Code | hsl(120, 76%, 44%) |
#1bc61c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(27, 198, 28); }
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(120, 76%, 44%); }
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 #1bc61c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(27, 198, 28, 10%) | #1bc61c1a | |
rgb(27, 198, 28, 20%) | #1bc61c33 | |
rgb(27, 198, 28, 40%) | #1bc61c4C | |
rgb(27, 198, 28, 60%) | #1bc61c99 | |
rgb(27, 198, 28, 80%) | #1bc61cCC | |
rgb(27, 198, 28, 100%) | #1bc61cFF |
Saturated and desaturated colors of #1bc61c
HSL Code | Preview |
---|---|
hsl(120, 10%, 44%) | |
hsl(120, 20%, 44%) | |
hsl(120, 40%, 44%) | |
hsl(120, 60%, 44%) | |
hsl(120, 80%, 44%) | |
hsl(120, 100%, 44%) |
#1bc61c Color Usage In CSS
body { color: #1bc61c; } p { color: rgb(27, 198, 28); } header { border-bottom:1px solid #1bc61c; }