CSS opacity Property

rgb(255, 0, 0) with opacity 0.6 - red with opacity

rgb(0, 255, 0) with opacity 0.6 - green with opacity

rgb(0, 0, 255) with opacity 0.6 - blue with opacity

Notice that the text inside the elements is also transparent!