This adds the possibility to clear the color history from the popup palette. (cherry picked from commit cd6e08d1)