#1b9a47 Color
Color Codes | |
---|---|
Hex Code | #1b9a47 |
RGB Code | rgb(27, 154, 71) |
HSL Code | hsl(141, 70%, 35%) |
#1b9a47 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(27, 154, 71); }
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(141, 70%, 35%); }
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 #1b9a47
RGB Code | Hex Code | Preview |
---|---|---|
rgb(27, 154, 71, 10%) | #1b9a471a | |
rgb(27, 154, 71, 20%) | #1b9a4733 | |
rgb(27, 154, 71, 40%) | #1b9a474C | |
rgb(27, 154, 71, 60%) | #1b9a4799 | |
rgb(27, 154, 71, 80%) | #1b9a47CC | |
rgb(27, 154, 71, 100%) | #1b9a47FF |
Saturated and desaturated colors of #1b9a47
HSL Code | Preview |
---|---|
hsl(141, 10%, 35%) | |
hsl(141, 20%, 35%) | |
hsl(141, 40%, 35%) | |
hsl(141, 60%, 35%) | |
hsl(141, 80%, 35%) | |
hsl(141, 100%, 35%) |
#1b9a47 Color Usage In CSS
body { color: #1b9a47; } p { color: rgb(27, 154, 71); } header { border-bottom:1px solid #1b9a47; }