#108cd1 Color
Color Codes | |
---|---|
Hex Code | #108cd1 |
RGB Code | rgb(16, 140, 209) |
HSL Code | hsl(201, 86%, 44%) |
#108cd1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(16, 140, 209); }
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(201, 86%, 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 #108cd1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(16, 140, 209, 10%) | #108cd11a | |
rgb(16, 140, 209, 20%) | #108cd133 | |
rgb(16, 140, 209, 40%) | #108cd14C | |
rgb(16, 140, 209, 60%) | #108cd199 | |
rgb(16, 140, 209, 80%) | #108cd1CC | |
rgb(16, 140, 209, 100%) | #108cd1FF |
Saturated and desaturated colors of #108cd1
HSL Code | Preview |
---|---|
hsl(201, 10%, 44%) | |
hsl(201, 20%, 44%) | |
hsl(201, 40%, 44%) | |
hsl(201, 60%, 44%) | |
hsl(201, 80%, 44%) | |
hsl(201, 100%, 44%) |
#108cd1 Color Usage In CSS
body { color: #108cd1; } p { color: rgb(16, 140, 209); } header { border-bottom:1px solid #108cd1; }