#0f7f72 Color
Color Codes | |
---|---|
Hex Code | #0f7f72 |
RGB Code | rgb(15, 127, 114) |
HSL Code | hsl(173, 79%, 28%) |
#0f7f72 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(15, 127, 114); }
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(173, 79%, 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 #0f7f72
RGB Code | Hex Code | Preview |
---|---|---|
rgb(15, 127, 114, 10%) | #0f7f721a | |
rgb(15, 127, 114, 20%) | #0f7f7233 | |
rgb(15, 127, 114, 40%) | #0f7f724C | |
rgb(15, 127, 114, 60%) | #0f7f7299 | |
rgb(15, 127, 114, 80%) | #0f7f72CC | |
rgb(15, 127, 114, 100%) | #0f7f72FF |
Saturated and desaturated colors of #0f7f72
HSL Code | Preview |
---|---|
hsl(173, 10%, 28%) | |
hsl(173, 20%, 28%) | |
hsl(173, 40%, 28%) | |
hsl(173, 60%, 28%) | |
hsl(173, 80%, 28%) | |
hsl(173, 100%, 28%) |
#0f7f72 Color Usage In CSS
body { color: #0f7f72; } p { color: rgb(15, 127, 114); } header { border-bottom:1px solid #0f7f72; }