title: JavaFX Text control: Setting the Fill Color
body: <p>I have a working <code>TextField</code> with my CSS fill color, and a <code>Label</code>.  But when I try a <code>Text</code> control, I have not figured out how to set the fill color in CSS (and I have tried many things). </p>
  
  <pre><code>Label label = new Label("Machine ID");
  TextField textField = new TextField("1");
  Text text = new Text("1");
  </code></pre>
  
  <p>.css:</p>
  
  <pre><code>.text-input {
      -fx-text-fill: blue;    
  }
  
  .label {
      -fx-text-fill: blue;
  }
  </code></pre>