#5988df Color
Color Codes | |
---|---|
Hex Code | #5988df |
RGB Code | rgb(89, 136, 223) |
HSL Code | hsl(219, 68%, 61%) |
#5988df Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(89, 136, 223); }
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(219, 68%, 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 #5988df
RGB Code | Hex Code | Preview |
---|---|---|
rgb(89, 136, 223, 10%) | #5988df1a | |
rgb(89, 136, 223, 20%) | #5988df33 | |
rgb(89, 136, 223, 40%) | #5988df4C | |
rgb(89, 136, 223, 60%) | #5988df99 | |
rgb(89, 136, 223, 80%) | #5988dfCC | |
rgb(89, 136, 223, 100%) | #5988dfFF |
Saturated and desaturated colors of #5988df
HSL Code | Preview |
---|---|
hsl(219, 10%, 61%) | |
hsl(219, 20%, 61%) | |
hsl(219, 40%, 61%) | |
hsl(219, 60%, 61%) | |
hsl(219, 80%, 61%) | |
hsl(219, 100%, 61%) |
#5988df Color Usage In CSS
body { color: #5988df; } p { color: rgb(89, 136, 223); } header { border-bottom:1px solid #5988df; }