#0f9c19 Color
Color Codes | |
---|---|
Hex Code | #0f9c19 |
RGB Code | rgb(15, 156, 25) |
HSL Code | hsl(124, 82%, 34%) |
#0f9c19 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(15, 156, 25); }
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, 82%, 34%); }
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 #0f9c19
RGB Code | Hex Code | Preview |
---|---|---|
rgb(15, 156, 25, 10%) | #0f9c191a | |
rgb(15, 156, 25, 20%) | #0f9c1933 | |
rgb(15, 156, 25, 40%) | #0f9c194C | |
rgb(15, 156, 25, 60%) | #0f9c1999 | |
rgb(15, 156, 25, 80%) | #0f9c19CC | |
rgb(15, 156, 25, 100%) | #0f9c19FF |
Saturated and desaturated colors of #0f9c19
HSL Code | Preview |
---|---|
hsl(124, 10%, 34%) | |
hsl(124, 20%, 34%) | |
hsl(124, 40%, 34%) | |
hsl(124, 60%, 34%) | |
hsl(124, 80%, 34%) | |
hsl(124, 100%, 34%) |
#0f9c19 Color Usage In CSS
body { color: #0f9c19; } p { color: rgb(15, 156, 25); } header { border-bottom:1px solid #0f9c19; }