<div class="box">一只猪</div>

css:

:root {
  font-size: 100px;
}

.box {
  color: red;
  /* 文本的填充颜色 transparent透明色 */
  -webkit-text-fill-color: orange;
}

代码演示:
202101211611222492100001

选中后文字是透明的:
202101211611222552172693