Aha. Díky. Už to funguje
setTextFill(variable.getBackground().getFills().get(0).getFill());
Zpět do poradny