#3b79ab Color
Color Codes | |
---|---|
Hex Code | #3b79ab |
RGB Code | rgb(59, 121, 171) |
HSL Code | hsl(207, 49%, 45%) |
#3b79ab Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(59, 121, 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(207, 49%, 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 #3b79ab
RGB Code | Hex Code | Preview |
---|---|---|
rgb(59, 121, 171, 10%) | #3b79ab1a | |
rgb(59, 121, 171, 20%) | #3b79ab33 | |
rgb(59, 121, 171, 40%) | #3b79ab4C | |
rgb(59, 121, 171, 60%) | #3b79ab99 | |
rgb(59, 121, 171, 80%) | #3b79abCC | |
rgb(59, 121, 171, 100%) | #3b79abFF |
Saturated and desaturated colors of #3b79ab
HSL Code | Preview |
---|---|
hsl(207, 10%, 45%) | |
hsl(207, 20%, 45%) | |
hsl(207, 40%, 45%) | |
hsl(207, 60%, 45%) | |
hsl(207, 80%, 45%) | |
hsl(207, 100%, 45%) |
#3b79ab Color Usage In CSS
body { color: #3b79ab; } p { color: rgb(59, 121, 171); } header { border-bottom:1px solid #3b79ab; }