opacity excluding text code example Example: background having opacity and text above to not have opacity background-color: rgba(255,0,0,0.6);