#5b91da Color
Color Codes | |
---|---|
Hex Code | #5b91da |
RGB Code | rgb(91, 145, 218) |
HSL Code | hsl(214, 63%, 61%) |
#5b91da Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(91, 145, 218); }
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(214, 63%, 61%); }
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 #5b91da
RGB Code | Hex Code | Preview |
---|---|---|
rgb(91, 145, 218, 10%) | #5b91da1a | |
rgb(91, 145, 218, 20%) | #5b91da33 | |
rgb(91, 145, 218, 40%) | #5b91da4C | |
rgb(91, 145, 218, 60%) | #5b91da99 | |
rgb(91, 145, 218, 80%) | #5b91daCC | |
rgb(91, 145, 218, 100%) | #5b91daFF |
Saturated and desaturated colors of #5b91da
HSL Code | Preview |
---|---|
hsl(214, 10%, 61%) | |
hsl(214, 20%, 61%) | |
hsl(214, 40%, 61%) | |
hsl(214, 60%, 61%) | |
hsl(214, 80%, 61%) | |
hsl(214, 100%, 61%) |
#5b91da Color Usage In CSS
body { color: #5b91da; } p { color: rgb(91, 145, 218); } header { border-bottom:1px solid #5b91da; }