src/main/java/chalmers/pimp/service/ColorConverterService.java
public static Color toFXColor(IColor color) {
    return new Color(color.getRedPercentage(),
        color.getGreenPercentage(),
        color.getBluePercentage(),
        color.getAlphaPercentage());
  }
/**
   * Converts the supplied color to a JavaFX color.
   *
   * @param color the color that will be converted.
   * @return a JavaFX color that is a copy of the supplied color.
   * @throws NullPointerException if any arguments are {@code null}.
   */
Converts the supplied color to a JavaFX color.
@param color the color that will be converted.
@return a JavaFX color that is a copy of the supplied color.
@throws NullPointerException if any arguments are  null.
Converts the supplied color to a JavaFX color . @param color the color that will be converted . @return a JavaFX color that is a copy of the supplied color . @throws NullPointerException if any arguments are null .
public static Color toFXColor(IColor color) {
    return new Color(color.getRedPercentage(),
        color.getGreenPercentage(),
        color.getBluePercentage(),
        color.getAlphaPercentage());
  }
public static Color toFXColor ( IColor color ) { return new Color ( color . getRedPercentage ( ) , color . getGreenPercentage ( ) , color . getBluePercentage ( ) , color . getAlphaPercentage ( ) ) ; }
Converts the supplied color to a JavaFX color.
Converts the supplied color to a JavaFX color .