#5059c0 Color
Color Codes | |
---|---|
Hex Code | #5059c0 |
RGB Code | rgb(80, 89, 192) |
HSL Code | hsl(235, 47%, 53%) |
#5059c0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(80, 89, 192); }
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(235, 47%, 53%); }
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 #5059c0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(80, 89, 192, 10%) | #5059c01a | |
rgb(80, 89, 192, 20%) | #5059c033 | |
rgb(80, 89, 192, 40%) | #5059c04C | |
rgb(80, 89, 192, 60%) | #5059c099 | |
rgb(80, 89, 192, 80%) | #5059c0CC | |
rgb(80, 89, 192, 100%) | #5059c0FF |
Saturated and desaturated colors of #5059c0
HSL Code | Preview |
---|---|
hsl(235, 10%, 53%) | |
hsl(235, 20%, 53%) | |
hsl(235, 40%, 53%) | |
hsl(235, 60%, 53%) | |
hsl(235, 80%, 53%) | |
hsl(235, 100%, 53%) |
#5059c0 Color Usage In CSS
body { color: #5059c0; } p { color: rgb(80, 89, 192); } header { border-bottom:1px solid #5059c0; }