#0a7f87 Color
Color Codes | |
---|---|
Hex Code | #0a7f87 |
RGB Code | rgb(10, 127, 135) |
HSL Code | hsl(184, 86%, 28%) |
#0a7f87 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(10, 127, 135); }
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(184, 86%, 28%); }
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 #0a7f87
RGB Code | Hex Code | Preview |
---|---|---|
rgb(10, 127, 135, 10%) | #0a7f871a | |
rgb(10, 127, 135, 20%) | #0a7f8733 | |
rgb(10, 127, 135, 40%) | #0a7f874C | |
rgb(10, 127, 135, 60%) | #0a7f8799 | |
rgb(10, 127, 135, 80%) | #0a7f87CC | |
rgb(10, 127, 135, 100%) | #0a7f87FF |
Saturated and desaturated colors of #0a7f87
HSL Code | Preview |
---|---|
hsl(184, 10%, 28%) | |
hsl(184, 20%, 28%) | |
hsl(184, 40%, 28%) | |
hsl(184, 60%, 28%) | |
hsl(184, 80%, 28%) | |
hsl(184, 100%, 28%) |
#0a7f87 Color Usage In CSS
body { color: #0a7f87; } p { color: rgb(10, 127, 135); } header { border-bottom:1px solid #0a7f87; }