It is possible to set it to the foreground color by picking up the color from the picture.
To pick a color, tap & hold on the color to be picked up.
(The color is displayed in the upper part of the screen while the color is being picked up. )
The second tap and hold, you can change preferences ([Menu]-[Preferences]).