#0b06ff Color
Color Codes | |
---|---|
Hex Code | #0b06ff |
RGB Code | rgb(11, 06, 255) |
HSL Code | hsl(241, 100%, 51%) |
#0b06ff Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(11, 06, 255); }
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(241, 100%, 51%); }
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 #0b06ff
RGB Code | Hex Code | Preview |
---|---|---|
rgb(11, 06, 255, 10%) | #0b06ff1a | |
rgb(11, 06, 255, 20%) | #0b06ff33 | |
rgb(11, 06, 255, 40%) | #0b06ff4C | |
rgb(11, 06, 255, 60%) | #0b06ff99 | |
rgb(11, 06, 255, 80%) | #0b06ffCC | |
rgb(11, 06, 255, 100%) | #0b06ffFF |
Saturated and desaturated colors of #0b06ff
HSL Code | Preview |
---|---|
hsl(241, 10%, 51%) | |
hsl(241, 20%, 51%) | |
hsl(241, 40%, 51%) | |
hsl(241, 60%, 51%) | |
hsl(241, 80%, 51%) | |
hsl(241, 100%, 51%) |
#0b06ff Color Usage In CSS
body { color: #0b06ff; } p { color: rgb(11, 06, 255); } header { border-bottom:1px solid #0b06ff; }