rgba(170, 0, 0, 0.8)

Every CSS color system has an optional alpha component that can define a color’s level of transparency. For example, to produce a background color of red that is halfway transparent for a <div> with an id of genera, we could write: