#5078ea Color
Color Codes | |
---|---|
Hex Code | #5078ea |
RGB Code | rgb(80, 120, 234) |
HSL Code | hsl(224, 79%, 62%) |
#5078ea Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(80, 120, 234); }
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, 79%, 62%); }
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 #5078ea
RGB Code | Hex Code | Preview |
---|---|---|
rgb(80, 120, 234, 10%) | #5078ea1a | |
rgb(80, 120, 234, 20%) | #5078ea33 | |
rgb(80, 120, 234, 40%) | #5078ea4C | |
rgb(80, 120, 234, 60%) | #5078ea99 | |
rgb(80, 120, 234, 80%) | #5078eaCC | |
rgb(80, 120, 234, 100%) | #5078eaFF |
Saturated and desaturated colors of #5078ea
HSL Code | Preview |
---|---|
hsl(224, 10%, 62%) | |
hsl(224, 20%, 62%) | |
hsl(224, 40%, 62%) | |
hsl(224, 60%, 62%) | |
hsl(224, 80%, 62%) | |
hsl(224, 100%, 62%) |
#5078ea Color Usage In CSS
body { color: #5078ea; } p { color: rgb(80, 120, 234); } header { border-bottom:1px solid #5078ea; }