#0496f8 Color
Color Codes | |
---|---|
Hex Code | #0496f8 |
RGB Code | rgb(04, 150, 248) |
HSL Code | hsl(204, 97%, 49%) |
#0496f8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(04, 150, 248); }
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(204, 97%, 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 #0496f8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(04, 150, 248, 10%) | #0496f81a | |
rgb(04, 150, 248, 20%) | #0496f833 | |
rgb(04, 150, 248, 40%) | #0496f84C | |
rgb(04, 150, 248, 60%) | #0496f899 | |
rgb(04, 150, 248, 80%) | #0496f8CC | |
rgb(04, 150, 248, 100%) | #0496f8FF |
Saturated and desaturated colors of #0496f8
HSL Code | Preview |
---|---|
hsl(204, 10%, 49%) | |
hsl(204, 20%, 49%) | |
hsl(204, 40%, 49%) | |
hsl(204, 60%, 49%) | |
hsl(204, 80%, 49%) | |
hsl(204, 100%, 49%) |
#0496f8 Color Usage In CSS
body { color: #0496f8; } p { color: rgb(04, 150, 248); } header { border-bottom:1px solid #0496f8; }