#285b89 Color
Color Codes | |
---|---|
Hex Code | #285b89 |
RGB Code | rgb(40, 91, 137) |
HSL Code | hsl(208, 55%, 35%) |
#285b89 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(40, 91, 137); }
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(208, 55%, 35%); }
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 #285b89
RGB Code | Hex Code | Preview |
---|---|---|
rgb(40, 91, 137, 10%) | #285b891a | |
rgb(40, 91, 137, 20%) | #285b8933 | |
rgb(40, 91, 137, 40%) | #285b894C | |
rgb(40, 91, 137, 60%) | #285b8999 | |
rgb(40, 91, 137, 80%) | #285b89CC | |
rgb(40, 91, 137, 100%) | #285b89FF |
Saturated and desaturated colors of #285b89
HSL Code | Preview |
---|---|
hsl(208, 10%, 35%) | |
hsl(208, 20%, 35%) | |
hsl(208, 40%, 35%) | |
hsl(208, 60%, 35%) | |
hsl(208, 80%, 35%) | |
hsl(208, 100%, 35%) |
#285b89 Color Usage In CSS
body { color: #285b89; } p { color: rgb(40, 91, 137); } header { border-bottom:1px solid #285b89; }