#96ca1b Color
Color Codes | |
---|---|
Hex Code | #96ca1b |
RGB Code | rgb(150, 202, 27) |
HSL Code | hsl(78, 76%, 45%) |
#96ca1b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(150, 202, 27); }
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(78, 76%, 45%); }
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 #96ca1b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(150, 202, 27, 10%) | #96ca1b1a | |
rgb(150, 202, 27, 20%) | #96ca1b33 | |
rgb(150, 202, 27, 40%) | #96ca1b4C | |
rgb(150, 202, 27, 60%) | #96ca1b99 | |
rgb(150, 202, 27, 80%) | #96ca1bCC | |
rgb(150, 202, 27, 100%) | #96ca1bFF |
Saturated and desaturated colors of #96ca1b
HSL Code | Preview |
---|---|
hsl(78, 10%, 45%) | |
hsl(78, 20%, 45%) | |
hsl(78, 40%, 45%) | |
hsl(78, 60%, 45%) | |
hsl(78, 80%, 45%) | |
hsl(78, 100%, 45%) |
#96ca1b Color Usage In CSS
body { color: #96ca1b; } p { color: rgb(150, 202, 27); } header { border-bottom:1px solid #96ca1b; }