Unfortunately Project does not expose formatting characteristics like Excel. There are two basic approaches. One is to identify the criteria that was used to set the font or cell background color. This approach can be used with a task object but will be of no use if Project formatting was done subjectively (i.e. no particular criteria other than "it looks nice").
The second approach is to access the CellColor of the Cell object. This requires using foreground processing (i.e. working on the active display) by selecting task rows, field columns or individual cells.