#06162f Color
Color Codes | |
---|---|
Hex Code | #06162f |
RGB Code | rgb(06, 22, 47) |
HSL Code | hsl(217, 77%, 10%) |
#06162f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(06, 22, 47); }
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(217, 77%, 10%); }
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 #06162f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(06, 22, 47, 10%) | #06162f1a | |
rgb(06, 22, 47, 20%) | #06162f33 | |
rgb(06, 22, 47, 40%) | #06162f4C | |
rgb(06, 22, 47, 60%) | #06162f99 | |
rgb(06, 22, 47, 80%) | #06162fCC | |
rgb(06, 22, 47, 100%) | #06162fFF |
Saturated and desaturated colors of #06162f
HSL Code | Preview |
---|---|
hsl(217, 10%, 10%) | |
hsl(217, 20%, 10%) | |
hsl(217, 40%, 10%) | |
hsl(217, 60%, 10%) | |
hsl(217, 80%, 10%) | |
hsl(217, 100%, 10%) |
#06162f Color Usage In CSS
body { color: #06162f; } p { color: rgb(06, 22, 47); } header { border-bottom:1px solid #06162f; }