You can use the color picker that appears once you click on the rainbow-colored + tile in the font-color selector menu. The hex code automatically appears beneath it. Another way is to search for that particular hex code on the internet.