#0556fa Color
Color Codes | |
---|---|
Hex Code | #0556fa |
RGB Code | rgb(05, 86, 250) |
HSL Code | hsl(220, 96%, 50%) |
#0556fa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(05, 86, 250); }
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(220, 96%, 50%); }
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 #0556fa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(05, 86, 250, 10%) | #0556fa1a | |
rgb(05, 86, 250, 20%) | #0556fa33 | |
rgb(05, 86, 250, 40%) | #0556fa4C | |
rgb(05, 86, 250, 60%) | #0556fa99 | |
rgb(05, 86, 250, 80%) | #0556faCC | |
rgb(05, 86, 250, 100%) | #0556faFF |
Saturated and desaturated colors of #0556fa
HSL Code | Preview |
---|---|
hsl(220, 10%, 50%) | |
hsl(220, 20%, 50%) | |
hsl(220, 40%, 50%) | |
hsl(220, 60%, 50%) | |
hsl(220, 80%, 50%) | |
hsl(220, 100%, 50%) |
#0556fa Color Usage In CSS
body { color: #0556fa; } p { color: rgb(05, 86, 250); } header { border-bottom:1px solid #0556fa; }