rgba() is a CSS color function that combines red, green, and blue values with an alpha value controlling transparency. In a gradient overlay, the final number determines how dark or transparent the color appears. section 7.4.3 section 10.8
Darkening a hero image
Use rgba(0, 0, 0, 0.5) for a partly transparent black overlay. Increase both final values to 0.75 for a darker image. Values closer to 0 make the overlay lighter, while values closer to 1 make it darker. In a lightbox overlay, 1.0 is completely opaque and 0.0 is completely transparent. section 7.4.3 section 10.8
linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5))
A two-stop linear gradient uses rgba() twice to place the same semi-transparent black overlay over the top and bottom of an image. section 7.4.3
