#b2c523 Color
Color Codes | |
---|---|
Hex Code | #b2c523 |
RGB Code | rgb(178, 197, 35) |
HSL Code | hsl(67, 70%, 45%) |
#b2c523 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(178, 197, 35); }
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(67, 70%, 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 #b2c523
RGB Code | Hex Code | Preview |
---|---|---|
rgb(178, 197, 35, 10%) | #b2c5231a | |
rgb(178, 197, 35, 20%) | #b2c52333 | |
rgb(178, 197, 35, 40%) | #b2c5234C | |
rgb(178, 197, 35, 60%) | #b2c52399 | |
rgb(178, 197, 35, 80%) | #b2c523CC | |
rgb(178, 197, 35, 100%) | #b2c523FF |
Saturated and desaturated colors of #b2c523
HSL Code | Preview |
---|---|
hsl(67, 10%, 45%) | |
hsl(67, 20%, 45%) | |
hsl(67, 40%, 45%) | |
hsl(67, 60%, 45%) | |
hsl(67, 80%, 45%) | |
hsl(67, 100%, 45%) |
#b2c523 Color Usage In CSS
body { color: #b2c523; } p { color: rgb(178, 197, 35); } header { border-bottom:1px solid #b2c523; }