#5a82f0 Color
Color Codes | |
---|---|
Hex Code | #5a82f0 |
RGB Code | rgb(90, 130, 240) |
HSL Code | hsl(224, 83%, 65%) |
#5a82f0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(90, 130, 240); }
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(224, 83%, 65%); }
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 #5a82f0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(90, 130, 240, 10%) | #5a82f01a | |
rgb(90, 130, 240, 20%) | #5a82f033 | |
rgb(90, 130, 240, 40%) | #5a82f04C | |
rgb(90, 130, 240, 60%) | #5a82f099 | |
rgb(90, 130, 240, 80%) | #5a82f0CC | |
rgb(90, 130, 240, 100%) | #5a82f0FF |
Saturated and desaturated colors of #5a82f0
HSL Code | Preview |
---|---|
hsl(224, 10%, 65%) | |
hsl(224, 20%, 65%) | |
hsl(224, 40%, 65%) | |
hsl(224, 60%, 65%) | |
hsl(224, 80%, 65%) | |
hsl(224, 100%, 65%) |
#5a82f0 Color Usage In CSS
body { color: #5a82f0; } p { color: rgb(90, 130, 240); } header { border-bottom:1px solid #5a82f0; }