# TableColorConfig

typedef

An array of color definitions (either strings or objects).

```typescript
const colors = [
	{
		color: 'hsl(0, 0%, 60%)',
		label: 'Grey'
	},
	'hsl(0, 0%, 80%)',
	{
		color: 'hsl(0, 0%, 90%)',
		label: 'Light grey'
	},
	{
		color: 'hsl(0, 0%, 100%)',
		label: 'White',
		hasBorder: true
	},
	'#FF0000'
]
```

Usually used as a configuration parameter, for instance in [`config.table.tableProperties`](module_table_tableconfig-TableConfig.md#member-tableProperties) or [`config.table.tableCellProperties`](module_table_tableconfig-TableConfig.md#member-tableCellProperties).

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-table/src/tableconfig.ts#L624)

#### Value

`Array<ColorOption>`

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
