#0979ef Color
Color Codes | |
---|---|
Hex Code | #0979ef |
RGB Code | rgb(09, 121, 239) |
HSL Code | hsl(211, 93%, 49%) |
#0979ef Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(09, 121, 239); }
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(211, 93%, 49%); }
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 #0979ef
RGB Code | Hex Code | Preview |
---|---|---|
rgb(09, 121, 239, 10%) | #0979ef1a | |
rgb(09, 121, 239, 20%) | #0979ef33 | |
rgb(09, 121, 239, 40%) | #0979ef4C | |
rgb(09, 121, 239, 60%) | #0979ef99 | |
rgb(09, 121, 239, 80%) | #0979efCC | |
rgb(09, 121, 239, 100%) | #0979efFF |
Saturated and desaturated colors of #0979ef
HSL Code | Preview |
---|---|
hsl(211, 10%, 49%) | |
hsl(211, 20%, 49%) | |
hsl(211, 40%, 49%) | |
hsl(211, 60%, 49%) | |
hsl(211, 80%, 49%) | |
hsl(211, 100%, 49%) |
#0979ef Color Usage In CSS
body { color: #0979ef; } p { color: rgb(09, 121, 239); } header { border-bottom:1px solid #0979ef; }