graphics: throw an error if the color doesn't exist
graphics: new_sprite is easier to use (API break)