From the Menu Bar, click Tools > Color to Hex.
Click on a basic color, then click OK to insert the HEX code for the selected color into your document.
From the Menu Bar, click Tools > Color to Hex.
Click a basic color then click and drag the 4-point black cursor (usually at the top or bottom portion of the color grid) through the color grid.
When the Color|Solid block shows the desired color, click OK to insert the HEX codes into your document.