<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>CSS filters examples</title>
    <style>
    html {
      font-family: impact, sans-serif;
    }

    h2 {
      width: 250px;
      height: 250px;
      text-align: center;
      line-height: 250px;
      font-size: 75px;
      display: inline-block;
      background: url(colorful-heart.png) no-repeat center;
    }

    .text-clip {
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    

    </style>
  </head>
  <body>
    <h2>WOW</h2>
    <h2 class="text-clip">WOW</h2>   
  </body>
</html>