#0a1331 Color
Color Codes | |
---|---|
Hex Code | #0a1331 |
RGB Code | rgb(10, 19, 49) |
HSL Code | hsl(226, 66%, 12%) |
#0a1331 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(10, 19, 49); }
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(226, 66%, 12%); }
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 #0a1331
RGB Code | Hex Code | Preview |
---|---|---|
rgb(10, 19, 49, 10%) | #0a13311a | |
rgb(10, 19, 49, 20%) | #0a133133 | |
rgb(10, 19, 49, 40%) | #0a13314C | |
rgb(10, 19, 49, 60%) | #0a133199 | |
rgb(10, 19, 49, 80%) | #0a1331CC | |
rgb(10, 19, 49, 100%) | #0a1331FF |
Saturated and desaturated colors of #0a1331
HSL Code | Preview |
---|---|
hsl(226, 10%, 12%) | |
hsl(226, 20%, 12%) | |
hsl(226, 40%, 12%) | |
hsl(226, 60%, 12%) | |
hsl(226, 80%, 12%) | |
hsl(226, 100%, 12%) |
#0a1331 Color Usage In CSS
body { color: #0a1331; } p { color: rgb(10, 19, 49); } header { border-bottom:1px solid #0a1331; }