#1a8ccf Color
Color Codes | |
---|---|
Hex Code | #1a8ccf |
RGB Code | rgb(26, 140, 207) |
HSL Code | hsl(202, 78%, 46%) |
#1a8ccf Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(26, 140, 207); }
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(202, 78%, 46%); }
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 #1a8ccf
RGB Code | Hex Code | Preview |
---|---|---|
rgb(26, 140, 207, 10%) | #1a8ccf1a | |
rgb(26, 140, 207, 20%) | #1a8ccf33 | |
rgb(26, 140, 207, 40%) | #1a8ccf4C | |
rgb(26, 140, 207, 60%) | #1a8ccf99 | |
rgb(26, 140, 207, 80%) | #1a8ccfCC | |
rgb(26, 140, 207, 100%) | #1a8ccfFF |
Saturated and desaturated colors of #1a8ccf
HSL Code | Preview |
---|---|
hsl(202, 10%, 46%) | |
hsl(202, 20%, 46%) | |
hsl(202, 40%, 46%) | |
hsl(202, 60%, 46%) | |
hsl(202, 80%, 46%) | |
hsl(202, 100%, 46%) |
#1a8ccf Color Usage In CSS
body { color: #1a8ccf; } p { color: rgb(26, 140, 207); } header { border-bottom:1px solid #1a8ccf; }