p.img { background: linear-gradient(0deg, #c91136 0%, #4343b5 35%, #eebf18 100%); display: inline-flex; } p.img > img { mix-blend-mode: hard-light; }