example saves images properly now, removed unused Color class