#3788ab Color
Color Codes | |
---|---|
Hex Code | #3788ab |
RGB Code | rgb(55, 136, 171) |
HSL Code | hsl(198, 51%, 44%) |
#3788ab Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(55, 136, 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(198, 51%, 44%); }
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 #3788ab
RGB Code | Hex Code | Preview |
---|---|---|
rgb(55, 136, 171, 10%) | #3788ab1a | |
rgb(55, 136, 171, 20%) | #3788ab33 | |
rgb(55, 136, 171, 40%) | #3788ab4C | |
rgb(55, 136, 171, 60%) | #3788ab99 | |
rgb(55, 136, 171, 80%) | #3788abCC | |
rgb(55, 136, 171, 100%) | #3788abFF |
Saturated and desaturated colors of #3788ab
HSL Code | Preview |
---|---|
hsl(198, 10%, 44%) | |
hsl(198, 20%, 44%) | |
hsl(198, 40%, 44%) | |
hsl(198, 60%, 44%) | |
hsl(198, 80%, 44%) | |
hsl(198, 100%, 44%) |
#3788ab Color Usage In CSS
body { color: #3788ab; } p { color: rgb(55, 136, 171); } header { border-bottom:1px solid #3788ab; }