I have a table of cells that are formatted in different colors, I am looking to return the color index of those colors into another table. If the table goes from A1:G10 and has different background colors, I would like to return a table of color indexes on another tab in A1:G10.

How do I do that?