Skip to content

Instantly share code, notes, and snippets.

@seanellul
Created July 11, 2022 03:59
Show Gist options
  • Select an option

  • Save seanellul/f03d844ade2d313aa70a63edee1fceaf to your computer and use it in GitHub Desktop.

Select an option

Save seanellul/f03d844ade2d313aa70a63edee1fceaf to your computer and use it in GitHub Desktop.
Sheets Code to get background colors
function GetCellColorCode(input)
{
var ss = SpreadsheetApp.getActiveSpreadsheet();
var cell = ss.getRange(input);
var result = cell.getBackground()
return result
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment