#196ad1 Color
Color Codes | |
---|---|
Hex Code | #196ad1 |
RGB Code | rgb(25, 106, 209) |
HSL Code | hsl(214, 79%, 46%) |
#196ad1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(25, 106, 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(214, 79%, 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 #196ad1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(25, 106, 209, 10%) | #196ad11a | |
rgb(25, 106, 209, 20%) | #196ad133 | |
rgb(25, 106, 209, 40%) | #196ad14C | |
rgb(25, 106, 209, 60%) | #196ad199 | |
rgb(25, 106, 209, 80%) | #196ad1CC | |
rgb(25, 106, 209, 100%) | #196ad1FF |
Saturated and desaturated colors of #196ad1
HSL Code | Preview |
---|---|
hsl(214, 10%, 46%) | |
hsl(214, 20%, 46%) | |
hsl(214, 40%, 46%) | |
hsl(214, 60%, 46%) | |
hsl(214, 80%, 46%) | |
hsl(214, 100%, 46%) |
#196ad1 Color Usage In CSS
body { color: #196ad1; } p { color: rgb(25, 106, 209); } header { border-bottom:1px solid #196ad1; }