#1b9cbc Color
Color Codes | |
---|---|
Hex Code | #1b9cbc |
RGB Code | rgb(27, 156, 188) |
HSL Code | hsl(192, 75%, 42%) |
#1b9cbc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(27, 156, 188); }
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(192, 75%, 42%); }
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 #1b9cbc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(27, 156, 188, 10%) | #1b9cbc1a | |
rgb(27, 156, 188, 20%) | #1b9cbc33 | |
rgb(27, 156, 188, 40%) | #1b9cbc4C | |
rgb(27, 156, 188, 60%) | #1b9cbc99 | |
rgb(27, 156, 188, 80%) | #1b9cbcCC | |
rgb(27, 156, 188, 100%) | #1b9cbcFF |
Saturated and desaturated colors of #1b9cbc
HSL Code | Preview |
---|---|
hsl(192, 10%, 42%) | |
hsl(192, 20%, 42%) | |
hsl(192, 40%, 42%) | |
hsl(192, 60%, 42%) | |
hsl(192, 80%, 42%) | |
hsl(192, 100%, 42%) |
#1b9cbc Color Usage In CSS
body { color: #1b9cbc; } p { color: rgb(27, 156, 188); } header { border-bottom:1px solid #1b9cbc; }