Question: this is my user Form:

[![enter image description here](https://i.stack.imgur.com/7eLp9.jpg)](https://i.stack.imgur.com/7eLp9.jpg)

I have a problem, the color of input field is white, and the background is same white.
I could not find anywhere How to change the color of input field.

What the attribute css for color texte ?

this is my template :

```html
<div class="example-container" style="color:red">
    <mat-form-field>
      <input matInput placeholder="Input">
    </mat-form-field>

    <mat-form-field>
      <textarea matInput placeholder="Textarea"></textarea>
    </mat-form-field>

    <mat-form-field>
      <mat-select placeholder="Select">
        <mat-option value="option">Option</mat-option>
      </mat-select>
    </mat-form-field>
  </div>
  new contact

```

Answer: 
@J.S. is correct if you haven't included theme in your application, but if you are interested in customizing color properties of input field-

For changing the color of place-holder(in this case 'input') you can change 'color' of below class - 

```
.mat-form-field-empty.mat-form-field-label {
    color: green;
}

```

For changing the underline-color when it's highlighted- 

```
.mat-form-field-underline {
    background-color: green;
}

```

you will have to include this code piece in `styles.scss` (or `styles.css`).
Have you applied a color theme to your project: [how to Include a theme](https://material.angular.io/guide/getting-started#step-4-include-a-theme), e.g adding this into your styles.css:

```
@import "~@angular/material/prebuilt-themes/indigo-pink.css";

```

Also important [Angular Material Theming Guide](https://material.angular.io/guide/theming)

Material decides, based on a color palette, which color should be applied. You can configure it like described in the links.

As last option you can overwrite styles (not recommended) using the css-selectors. You can debug your app in browser to get to know which css-selector to use. In your case I think you can use: 

```
.mat-form-field

```

Or if that does not work use:

```
::ng-deep .mat-form-field

```