#1b9b5c Color
Color Codes | |
---|---|
Hex Code | #1b9b5c |
RGB Code | rgb(27, 155, 92) |
HSL Code | hsl(150, 70%, 36%) |
#1b9b5c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(27, 155, 92); }
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(150, 70%, 36%); }
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 #1b9b5c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(27, 155, 92, 10%) | #1b9b5c1a | |
rgb(27, 155, 92, 20%) | #1b9b5c33 | |
rgb(27, 155, 92, 40%) | #1b9b5c4C | |
rgb(27, 155, 92, 60%) | #1b9b5c99 | |
rgb(27, 155, 92, 80%) | #1b9b5cCC | |
rgb(27, 155, 92, 100%) | #1b9b5cFF |
Saturated and desaturated colors of #1b9b5c
HSL Code | Preview |
---|---|
hsl(150, 10%, 36%) | |
hsl(150, 20%, 36%) | |
hsl(150, 40%, 36%) | |
hsl(150, 60%, 36%) | |
hsl(150, 80%, 36%) | |
hsl(150, 100%, 36%) |
#1b9b5c Color Usage In CSS
body { color: #1b9b5c; } p { color: rgb(27, 155, 92); } header { border-bottom:1px solid #1b9b5c; }