Color

Colors can be applied to text, backgrounds, borders, and other elements in 3 ways: with RGB values, using the Excel predefined colors, or referencing a named color definition that you defined in the workbook.

Example

"backgroundColor": {
    "rgb": [160,210,255]
}
"fontColor": {
    "name": "violet"
}

Implementations

Format

Font

Properties

name type description
rgb array Color as RGB. Array of hex values. (0-255)

maxItems: 3
minItems: 3

ArrayItems:
  integer - 0-255,
  integer - 0-255,
  integer - 0-255
ref string Name of color definition.
A name referencing a color defined in the colors catalog of the workbook.
name string An Excel-defined color name

possible values:
none
black
white
red
brightgreen
blue
yellow
pink
turquoise
darkred
green
darkblue
darkyellow
violet
teal
gray25
gray50
periwinkle cf
plum cf
ivory cf
lightturquoise cf
darkpurple cf
coral cf
oceanblue cf
iceblue cf
darkblue cl
pink cl
yellow cl
turquoise cl
violet cl
darkred cl
teal cl
blue cl
skyblue
lightturquoise
lightgreen
lightyellow
paleblue
rose
lavender
tan
lightblue
aqua
lime
gold
lightorange
orange
bluegray
gray40
darkteal
seagreen
darkgreen
olivegreen
brown
plum
indigo
gray80
default foreground
default background
tooltip
auto