Style.backgroundColor

Note:

The content in this help topic applies to SuiteScript 2.x.

Property Description

The background color of the style.

Type

workbook.Color | string

Module

N/workbook Module

Parent Object

workbook.Style

Sibling Object Members

Style Object Members

Since

2021.2

Errors

Error Code

Thrown If

UNSUPPORTED_COLOR

The value of this property is a string but it is not included in the workbook.Color enum.

WRONG_PARAMETER_TYPE

The value specified for this property is not a workbook.Color object or a string.

Related Topics

N/workbook Module
SuiteScript 2.x Modules
SuiteScript 2.x

General Notices