#1b960a Color
Color Codes | |
---|---|
Hex Code | #1b960a |
RGB Code | rgb(27, 150, 10) |
HSL Code | hsl(113, 88%, 31%) |
#1b960a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(27, 150, 10); }
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(113, 88%, 31%); }
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 #1b960a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(27, 150, 10, 10%) | #1b960a1a | |
rgb(27, 150, 10, 20%) | #1b960a33 | |
rgb(27, 150, 10, 40%) | #1b960a4C | |
rgb(27, 150, 10, 60%) | #1b960a99 | |
rgb(27, 150, 10, 80%) | #1b960aCC | |
rgb(27, 150, 10, 100%) | #1b960aFF |
Saturated and desaturated colors of #1b960a
HSL Code | Preview |
---|---|
hsl(113, 10%, 31%) | |
hsl(113, 20%, 31%) | |
hsl(113, 40%, 31%) | |
hsl(113, 60%, 31%) | |
hsl(113, 80%, 31%) | |
hsl(113, 100%, 31%) |
#1b960a Color Usage In CSS
body { color: #1b960a; } p { color: rgb(27, 150, 10); } header { border-bottom:1px solid #1b960a; }