CSS

element {
background-image: -webkit-linear-gradient(130deg,#FF0000,#D600FF);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}