### Question:
ColorUtils { public static java.awt.Color toAwtColor(final Color fxColor) { return new java.awt.Color((float) fxColor.getRed(), (float) fxColor.getGreen(), (float) fxColor.getBlue()); } private  ColorUtils(); static java.awt.Color toAwtColor(final Color fxColor); static Color toFxColor(final java.awt.Color awtColor); static String toRGBCode(final Color color);  }### Answer:
@Test public void testToAwtColor() { javafx.scene.paint.Color fxColor = new javafx.scene.paint.Color(1.0d, 0.5d, 0d, 1d); assertEquals(new java.awt.Color(255, 128, 0), ColorUtils.toAwtColor(fxColor)); }