Angular-Material,如何更改所选垫子选项的颜色

Angular-Material, How to change color of selected mat-option

如何更改此文本 2020“由 mat-option 选择”的颜色 这是图片here,我的代码是

 <mat-form-field appearance="fill" style="width: 100px;">
<mat-label>Year</mat-label>
<mat-select formControlName="year">
    <mat-option [value]="2020">
       2020
    </mat-option>
    <mat-option [value]="2021">
        2021
    </mat-option> 
</mat-select>

在你的CSS-

::ng-deep .mat-select-value
{    
      color: green!important;  
}

这是您要找的吗?