#0b1a68 Color
Color Codes | |
---|---|
Hex Code | #0b1a68 |
RGB Code | rgb(11, 26, 104) |
HSL Code | hsl(230, 81%, 23%) |
#0b1a68 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(11, 26, 104); }
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(230, 81%, 23%); }
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 #0b1a68
RGB Code | Hex Code | Preview |
---|---|---|
rgb(11, 26, 104, 10%) | #0b1a681a | |
rgb(11, 26, 104, 20%) | #0b1a6833 | |
rgb(11, 26, 104, 40%) | #0b1a684C | |
rgb(11, 26, 104, 60%) | #0b1a6899 | |
rgb(11, 26, 104, 80%) | #0b1a68CC | |
rgb(11, 26, 104, 100%) | #0b1a68FF |
Saturated and desaturated colors of #0b1a68
HSL Code | Preview |
---|---|
hsl(230, 10%, 23%) | |
hsl(230, 20%, 23%) | |
hsl(230, 40%, 23%) | |
hsl(230, 60%, 23%) | |
hsl(230, 80%, 23%) | |
hsl(230, 100%, 23%) |
#0b1a68 Color Usage In CSS
body { color: #0b1a68; } p { color: rgb(11, 26, 104); } header { border-bottom:1px solid #0b1a68; }