#1b6dae Color
Color Codes | |
---|---|
Hex Code | #1b6dae |
RGB Code | rgb(27, 109, 174) |
HSL Code | hsl(207, 73%, 39%) |
#1b6dae Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(27, 109, 174); }
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(207, 73%, 39%); }
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 #1b6dae
RGB Code | Hex Code | Preview |
---|---|---|
rgb(27, 109, 174, 10%) | #1b6dae1a | |
rgb(27, 109, 174, 20%) | #1b6dae33 | |
rgb(27, 109, 174, 40%) | #1b6dae4C | |
rgb(27, 109, 174, 60%) | #1b6dae99 | |
rgb(27, 109, 174, 80%) | #1b6daeCC | |
rgb(27, 109, 174, 100%) | #1b6daeFF |
Saturated and desaturated colors of #1b6dae
HSL Code | Preview |
---|---|
hsl(207, 10%, 39%) | |
hsl(207, 20%, 39%) | |
hsl(207, 40%, 39%) | |
hsl(207, 60%, 39%) | |
hsl(207, 80%, 39%) | |
hsl(207, 100%, 39%) |
#1b6dae Color Usage In CSS
body { color: #1b6dae; } p { color: rgb(27, 109, 174); } header { border-bottom:1px solid #1b6dae; }