#1f92ab Color
Color Codes | |
---|---|
Hex Code | #1f92ab |
RGB Code | rgb(31, 146, 171) |
HSL Code | hsl(191, 69%, 40%) |
#1f92ab Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(31, 146, 171); }
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(191, 69%, 40%); }
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 #1f92ab
RGB Code | Hex Code | Preview |
---|---|---|
rgb(31, 146, 171, 10%) | #1f92ab1a | |
rgb(31, 146, 171, 20%) | #1f92ab33 | |
rgb(31, 146, 171, 40%) | #1f92ab4C | |
rgb(31, 146, 171, 60%) | #1f92ab99 | |
rgb(31, 146, 171, 80%) | #1f92abCC | |
rgb(31, 146, 171, 100%) | #1f92abFF |
Saturated and desaturated colors of #1f92ab
HSL Code | Preview |
---|---|
hsl(191, 10%, 40%) | |
hsl(191, 20%, 40%) | |
hsl(191, 40%, 40%) | |
hsl(191, 60%, 40%) | |
hsl(191, 80%, 40%) | |
hsl(191, 100%, 40%) |
#1f92ab Color Usage In CSS
body { color: #1f92ab; } p { color: rgb(31, 146, 171); } header { border-bottom:1px solid #1f92ab; }