diff --git a/gspread/worksheet.py b/gspread/worksheet.py index 7f097be29..a5b7f7aef 100644 --- a/gspread/worksheet.py +++ b/gspread/worksheet.py @@ -1654,11 +1654,7 @@ def update_tab_color(self, color: str) -> JSONResponse: "properties": { "sheetId": self.id, "tabColorStyle": { - "rgbColor": { - "red": red, - "green": green, - "blue": blue, - } + "rgbColor": color, }, }, "fields": "tabColorStyle",