Added color option for clear method