#b9ef3c Color
Color Codes | |
---|---|
Hex Code | #b9ef3c |
RGB Code | rgb(185, 239, 60) |
HSL Code | hsl(78, 85%, 59%) |
#b9ef3c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(185, 239, 60); }
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, 85%, 59%); }
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 #b9ef3c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(185, 239, 60, 10%) | #b9ef3c1a | |
rgb(185, 239, 60, 20%) | #b9ef3c33 | |
rgb(185, 239, 60, 40%) | #b9ef3c4C | |
rgb(185, 239, 60, 60%) | #b9ef3c99 | |
rgb(185, 239, 60, 80%) | #b9ef3cCC | |
rgb(185, 239, 60, 100%) | #b9ef3cFF |
Saturated and desaturated colors of #b9ef3c
HSL Code | Preview |
---|---|
hsl(78, 10%, 59%) | |
hsl(78, 20%, 59%) | |
hsl(78, 40%, 59%) | |
hsl(78, 60%, 59%) | |
hsl(78, 80%, 59%) | |
hsl(78, 100%, 59%) |
#b9ef3c Color Usage In CSS
body { color: #b9ef3c; } p { color: rgb(185, 239, 60); } header { border-bottom:1px solid #b9ef3c; }