#0b8715 Color
Color Codes | |
---|---|
Hex Code | #0b8715 |
RGB Code | rgb(11, 135, 21) |
HSL Code | hsl(125, 85%, 29%) |
#0b8715 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(11, 135, 21); }
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(125, 85%, 29%); }
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 #0b8715
RGB Code | Hex Code | Preview |
---|---|---|
rgb(11, 135, 21, 10%) | #0b87151a | |
rgb(11, 135, 21, 20%) | #0b871533 | |
rgb(11, 135, 21, 40%) | #0b87154C | |
rgb(11, 135, 21, 60%) | #0b871599 | |
rgb(11, 135, 21, 80%) | #0b8715CC | |
rgb(11, 135, 21, 100%) | #0b8715FF |
Saturated and desaturated colors of #0b8715
HSL Code | Preview |
---|---|
hsl(125, 10%, 29%) | |
hsl(125, 20%, 29%) | |
hsl(125, 40%, 29%) | |
hsl(125, 60%, 29%) | |
hsl(125, 80%, 29%) | |
hsl(125, 100%, 29%) |
#0b8715 Color Usage In CSS
body { color: #0b8715; } p { color: rgb(11, 135, 21); } header { border-bottom:1px solid #0b8715; }