How to get font color of cell in Google Sheets?

11,583

Solution 1

Yes there is a function called getFontColor().

Check the google documentation for more spreadsheet related references.

Solution 2

get this addon: https://chrome.google.com/webstore/detail/c

and then you can use easy IF logic to get the color name:

=IF(COUNTFONTCOLOR("A1", "A1")=1, "red")

00

Share:
11,583
Solal
Author by

Solal

Django, Django Rest Framework, Python

Updated on June 18, 2022

Comments

  • Solal
    Solal almost 2 years

    Is it possible to get the font color of a cell in Google Sheets?

    I have found a script for getting the colour of the background using getBackground(). However, I can't find anything for text colour.