This happened to me today. Normally the eyedropper picks the foreground color when left-clicked and the background color when alt-left-clicked but it was happening the other way around.
To fix, open the color palette and make sure the foreground color is selected (has the heavy black outline).
« How to not get re-hired as a subcontractor Joomla tasks I’m working on »

