colorTable
The entries in the color table of an indexed color space.
Declaration
var colorTable: [UInt8]? { get }Discussion
If the color space is an indexed color space, this array contains color component values for the colors in the color space, in the same format you use when creating an indexed color space with the init(indexedBaseSpace:last:colorTable:) initializer.
If the color space is not an indexed color space, this property’s value is nil. To determine whether a color space is an indexed color space, read the model property.