You can try it using linear gradient, as in the example snippet below. Please note that this does not work in Internet Explorer and Edge. I have successfully tested it in Chrome, Firefox, and Opera and am not able to test it using Safari.
div {
font-size: 128px;
background: linear-gradient(90deg, #ff0000 5%, #00B053 15%, #1BAADA 30%);
-webkit-background-clip: text;
-webkit-text-stroke: 12px transparent;
color: #000;
}
<div>
Text
</div>
Run codeHide result source
share