How to get the cell color in google spreadsheet

Can someone help me with how to get the cell color from the google spreadsheet. I have tried with gsuite get cell color but I could get only one cell color. If i use something like “A”+index.ToString. There is an error.

I am also having the same Issue. It works with fixed range but not dynamic variable

Hi can you please show me how you even get a cell colour??