title: JavaFx Set Tableview Cell Background Color Dynamically
body: <p>I want to add color to the color cell of the rows dynamically when ADD button is clicked. I am not able to change the background color of the cell. Please see the image for reference. 
  Am not able to achieve that with the help of code.
  Thanks for help in advance.</p>
  
  <p>Snippet adding values to table : </p>
  
  <pre><code>     @FXML
       private void addEntity() {
  
        data.add(new Inventory(codeTemp.getText(), articleNameTemp.getText(), Integer.parseInt(amountTemp.getText()), dcTemp.isSelected() ? true:false, stTemp.isSelected()?true:false, Utilities.toRGBCode(colorTemp.getValue()), informationTemp.getText(), data.size()+1));
        inventoryTable.setItems(data);
  
       }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/v4XE0.png" alt="enter image description here"></p>