#1ab7c6 Color
Color Codes | |
---|---|
Hex Code | #1ab7c6 |
RGB Code | rgb(26, 183, 198) |
HSL Code | hsl(185, 77%, 44%) |
#1ab7c6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(26, 183, 198); }
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(185, 77%, 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 #1ab7c6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(26, 183, 198, 10%) | #1ab7c61a | |
rgb(26, 183, 198, 20%) | #1ab7c633 | |
rgb(26, 183, 198, 40%) | #1ab7c64C | |
rgb(26, 183, 198, 60%) | #1ab7c699 | |
rgb(26, 183, 198, 80%) | #1ab7c6CC | |
rgb(26, 183, 198, 100%) | #1ab7c6FF |
Saturated and desaturated colors of #1ab7c6
HSL Code | Preview |
---|---|
hsl(185, 10%, 44%) | |
hsl(185, 20%, 44%) | |
hsl(185, 40%, 44%) | |
hsl(185, 60%, 44%) | |
hsl(185, 80%, 44%) | |
hsl(185, 100%, 44%) |
#1ab7c6 Color Usage In CSS
body { color: #1ab7c6; } p { color: rgb(26, 183, 198); } header { border-bottom:1px solid #1ab7c6; }