#0f7d17 Color
Color Codes | |
---|---|
Hex Code | #0f7d17 |
RGB Code | rgb(15, 125, 23) |
HSL Code | hsl(124, 79%, 27%) |
#0f7d17 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(15, 125, 23); }
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(124, 79%, 27%); }
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 #0f7d17
RGB Code | Hex Code | Preview |
---|---|---|
rgb(15, 125, 23, 10%) | #0f7d171a | |
rgb(15, 125, 23, 20%) | #0f7d1733 | |
rgb(15, 125, 23, 40%) | #0f7d174C | |
rgb(15, 125, 23, 60%) | #0f7d1799 | |
rgb(15, 125, 23, 80%) | #0f7d17CC | |
rgb(15, 125, 23, 100%) | #0f7d17FF |
Saturated and desaturated colors of #0f7d17
HSL Code | Preview |
---|---|
hsl(124, 10%, 27%) | |
hsl(124, 20%, 27%) | |
hsl(124, 40%, 27%) | |
hsl(124, 60%, 27%) | |
hsl(124, 80%, 27%) | |
hsl(124, 100%, 27%) |
#0f7d17 Color Usage In CSS
body { color: #0f7d17; } p { color: rgb(15, 125, 23); } header { border-bottom:1px solid #0f7d17; }