#020e27 Color
Color Codes | |
---|---|
Hex Code | #020e27 |
RGB Code | rgb(02, 14, 39) |
HSL Code | hsl(221, 90%, 8%) |
#020e27 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(02, 14, 39); }
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(221, 90%, 8%); }
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 #020e27
RGB Code | Hex Code | Preview |
---|---|---|
rgb(02, 14, 39, 10%) | #020e271a | |
rgb(02, 14, 39, 20%) | #020e2733 | |
rgb(02, 14, 39, 40%) | #020e274C | |
rgb(02, 14, 39, 60%) | #020e2799 | |
rgb(02, 14, 39, 80%) | #020e27CC | |
rgb(02, 14, 39, 100%) | #020e27FF |
Saturated and desaturated colors of #020e27
HSL Code | Preview |
---|---|
hsl(221, 10%, 8%) | |
hsl(221, 20%, 8%) | |
hsl(221, 40%, 8%) | |
hsl(221, 60%, 8%) | |
hsl(221, 80%, 8%) | |
hsl(221, 100%, 8%) |
#020e27 Color Usage In CSS
body { color: #020e27; } p { color: rgb(02, 14, 39); } header { border-bottom:1px solid #020e27; }