#b1cc1b Color
Color Codes | |
---|---|
Hex Code | #b1cc1b |
RGB Code | rgb(177, 204, 27) |
HSL Code | hsl(69, 77%, 45%) |
#b1cc1b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(177, 204, 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(69, 77%, 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 #b1cc1b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(177, 204, 27, 10%) | #b1cc1b1a | |
rgb(177, 204, 27, 20%) | #b1cc1b33 | |
rgb(177, 204, 27, 40%) | #b1cc1b4C | |
rgb(177, 204, 27, 60%) | #b1cc1b99 | |
rgb(177, 204, 27, 80%) | #b1cc1bCC | |
rgb(177, 204, 27, 100%) | #b1cc1bFF |
Saturated and desaturated colors of #b1cc1b
HSL Code | Preview |
---|---|
hsl(69, 10%, 45%) | |
hsl(69, 20%, 45%) | |
hsl(69, 40%, 45%) | |
hsl(69, 60%, 45%) | |
hsl(69, 80%, 45%) | |
hsl(69, 100%, 45%) |
#b1cc1b Color Usage In CSS
body { color: #b1cc1b; } p { color: rgb(177, 204, 27); } header { border-bottom:1px solid #b1cc1b; }