#0fa6eb Color
Color Codes | |
---|---|
Hex Code | #0fa6eb |
RGB Code | rgb(15, 166, 235) |
HSL Code | hsl(199, 88%, 49%) |
#0fa6eb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(15, 166, 235); }
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(199, 88%, 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 #0fa6eb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(15, 166, 235, 10%) | #0fa6eb1a | |
rgb(15, 166, 235, 20%) | #0fa6eb33 | |
rgb(15, 166, 235, 40%) | #0fa6eb4C | |
rgb(15, 166, 235, 60%) | #0fa6eb99 | |
rgb(15, 166, 235, 80%) | #0fa6ebCC | |
rgb(15, 166, 235, 100%) | #0fa6ebFF |
Saturated and desaturated colors of #0fa6eb
HSL Code | Preview |
---|---|
hsl(199, 10%, 49%) | |
hsl(199, 20%, 49%) | |
hsl(199, 40%, 49%) | |
hsl(199, 60%, 49%) | |
hsl(199, 80%, 49%) | |
hsl(199, 100%, 49%) |
#0fa6eb Color Usage In CSS
body { color: #0fa6eb; } p { color: rgb(15, 166, 235); } header { border-bottom:1px solid #0fa6eb; }