How to get the hex color of a cell in Excel 2011

colorhtmlms office

I'm trying to write a script to automatically generate an excel sheet. To keep the coloring of cells/rows consistent, I want to get the html color code from Excel to use in my script.

I found this link online which seems to give me what I need but I can't find a corresponding function in Excel 2011. Can someone tell me how to get the hex/html color code for cells from Excel 2011?

Best Answer

Digital Color Meter

In '/Applications/Utilities/` there is an app 'Digital Color Meter'. You can use this to find the color codes (HEX, RGB, etc)