How to extract colored cell value in an excel

I didn’t got. Here my scenario is only red colored cell values i should fetch but if i use above logic i am getting output as white color.