#0a5874 Color
Color Codes | |
---|---|
Hex Code | #0a5874 |
RGB Code | rgb(10, 88, 116) |
HSL Code | hsl(196, 84%, 25%) |
#0a5874 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(10, 88, 116); }
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(196, 84%, 25%); }
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 #0a5874
RGB Code | Hex Code | Preview |
---|---|---|
rgb(10, 88, 116, 10%) | #0a58741a | |
rgb(10, 88, 116, 20%) | #0a587433 | |
rgb(10, 88, 116, 40%) | #0a58744C | |
rgb(10, 88, 116, 60%) | #0a587499 | |
rgb(10, 88, 116, 80%) | #0a5874CC | |
rgb(10, 88, 116, 100%) | #0a5874FF |
Saturated and desaturated colors of #0a5874
HSL Code | Preview |
---|---|
hsl(196, 10%, 25%) | |
hsl(196, 20%, 25%) | |
hsl(196, 40%, 25%) | |
hsl(196, 60%, 25%) | |
hsl(196, 80%, 25%) | |
hsl(196, 100%, 25%) |
#0a5874 Color Usage In CSS
body { color: #0a5874; } p { color: rgb(10, 88, 116); } header { border-bottom:1px solid #0a5874; }