#0a7c94 Color
Color Codes | |
---|---|
Hex Code | #0a7c94 |
RGB Code | rgb(10, 124, 148) |
HSL Code | hsl(190, 87%, 31%) |
#0a7c94 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(10, 124, 148); }
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(190, 87%, 31%); }
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 #0a7c94
RGB Code | Hex Code | Preview |
---|---|---|
rgb(10, 124, 148, 10%) | #0a7c941a | |
rgb(10, 124, 148, 20%) | #0a7c9433 | |
rgb(10, 124, 148, 40%) | #0a7c944C | |
rgb(10, 124, 148, 60%) | #0a7c9499 | |
rgb(10, 124, 148, 80%) | #0a7c94CC | |
rgb(10, 124, 148, 100%) | #0a7c94FF |
Saturated and desaturated colors of #0a7c94
HSL Code | Preview |
---|---|
hsl(190, 10%, 31%) | |
hsl(190, 20%, 31%) | |
hsl(190, 40%, 31%) | |
hsl(190, 60%, 31%) | |
hsl(190, 80%, 31%) | |
hsl(190, 100%, 31%) |
#0a7c94 Color Usage In CSS
body { color: #0a7c94; } p { color: rgb(10, 124, 148); } header { border-bottom:1px solid #0a7c94; }