mat-icon grandient fill code example
Example: change icon color to gradient css
.fa-gradient {
background: -webkit-gradient(linear, left top, left bottom, from(#f00), to(#333));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}