static Color toColor(RGB rgb) { ret rgb == null ? null : rgb.getColor(); }