static Color toColor(RGB rgb) { ret rgb == null ? null : rgb.getColor(); } static Color toColor(int rgb) { ret new Color(rgb); } static Color toColor(S hex) { ret awtColor(hex); }