#1166d0 Color
Color Codes | |
---|---|
Hex Code | #1166d0 |
RGB Code | rgb(17, 102, 208) |
HSL Code | hsl(213, 85%, 44%) |
#1166d0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(17, 102, 208); }
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(213, 85%, 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 #1166d0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(17, 102, 208, 10%) | #1166d01a | |
rgb(17, 102, 208, 20%) | #1166d033 | |
rgb(17, 102, 208, 40%) | #1166d04C | |
rgb(17, 102, 208, 60%) | #1166d099 | |
rgb(17, 102, 208, 80%) | #1166d0CC | |
rgb(17, 102, 208, 100%) | #1166d0FF |
Saturated and desaturated colors of #1166d0
HSL Code | Preview |
---|---|
hsl(213, 10%, 44%) | |
hsl(213, 20%, 44%) | |
hsl(213, 40%, 44%) | |
hsl(213, 60%, 44%) | |
hsl(213, 80%, 44%) | |
hsl(213, 100%, 44%) |
#1166d0 Color Usage In CSS
body { color: #1166d0; } p { color: rgb(17, 102, 208); } header { border-bottom:1px solid #1166d0; }