background-clip: text

The background-clip: text CSS declaration draws the background underneath only the text in the element.