#081a5f Color
Color Codes | |
---|---|
Hex Code | #081a5f |
RGB Code | rgb(08, 26, 95) |
HSL Code | hsl(228, 84%, 20%) |
#081a5f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(08, 26, 95); }
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(228, 84%, 20%); }
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 #081a5f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(08, 26, 95, 10%) | #081a5f1a | |
rgb(08, 26, 95, 20%) | #081a5f33 | |
rgb(08, 26, 95, 40%) | #081a5f4C | |
rgb(08, 26, 95, 60%) | #081a5f99 | |
rgb(08, 26, 95, 80%) | #081a5fCC | |
rgb(08, 26, 95, 100%) | #081a5fFF |
Saturated and desaturated colors of #081a5f
HSL Code | Preview |
---|---|
hsl(228, 10%, 20%) | |
hsl(228, 20%, 20%) | |
hsl(228, 40%, 20%) | |
hsl(228, 60%, 20%) | |
hsl(228, 80%, 20%) | |
hsl(228, 100%, 20%) |
#081a5f Color Usage In CSS
body { color: #081a5f; } p { color: rgb(08, 26, 95); } header { border-bottom:1px solid #081a5f; }