#1b71c8 Color
Color Codes | |
---|---|
Hex Code | #1b71c8 |
RGB Code | rgb(27, 113, 200) |
HSL Code | hsl(210, 76%, 45%) |
#1b71c8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(27, 113, 200); }
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(210, 76%, 45%); }
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 #1b71c8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(27, 113, 200, 10%) | #1b71c81a | |
rgb(27, 113, 200, 20%) | #1b71c833 | |
rgb(27, 113, 200, 40%) | #1b71c84C | |
rgb(27, 113, 200, 60%) | #1b71c899 | |
rgb(27, 113, 200, 80%) | #1b71c8CC | |
rgb(27, 113, 200, 100%) | #1b71c8FF |
Saturated and desaturated colors of #1b71c8
HSL Code | Preview |
---|---|
hsl(210, 10%, 45%) | |
hsl(210, 20%, 45%) | |
hsl(210, 40%, 45%) | |
hsl(210, 60%, 45%) | |
hsl(210, 80%, 45%) | |
hsl(210, 100%, 45%) |
#1b71c8 Color Usage In CSS
body { color: #1b71c8; } p { color: rgb(27, 113, 200); } header { border-bottom:1px solid #1b71c8; }