implemented image#clear, refactoring Object_color