private static RGB convert(final Color color) { return (color == null ? null : new RGB(color.red(), color.green(), color.blue())); }