Locate the hex code - referred to as "HTML notation" - in the "Change Foreground Color" window that pops up. You can also select "Use info window" from the left-hand side color picker menu. Then, when you click your chosen color with the picker, the color info window will pop up, and the hex code will be listed there.