Information Classification: External Restricted.
See https://www.chili-publish.com/security

Document Object Model - Color

One of the document's colors
Unlike other lists, not every color is editable in the List panel. This depends on the isDocumentColor property, which is false for "custom" colors (defined for a single object)

Fields

Name

Type

Triggers

Description

r

int

ColorDefinitionChanged

RGB's Red component

g

int

ColorDefinitionChanged

RGB's Green component

b

int

ColorDefinitionChanged

The "b" part of an RGB color

c

int

ColorDefinitionChanged

Cyan component for CMYK Colors

m

int

ColorDefinitionChanged

Magenta component for CMYK Colors

y

int

ColorDefinitionChanged

Yellow component for CMYK Colors

k

int

ColorDefinitionChanged

Black component for CMYK Colors

isDocumentColor

bool

 

Document Colors appear in the Color List, and are editable as swatches.
Non-Document Colors are custom colors defined for a single object.

applyToSnippets

bool

ColorDefinitionChanged

If true, any change in the value of the current Color is applied to colors with the same name in all placed snippets (if they are saved inline)

pulldownFilter

string

ColorDefinitionChanged

Filter for the colors selectable in Variables

pantoneName

string

ColorDefinitionChanged

Output name of the Spot Color

pantoneTint

number

ColorDefinitionChanged

Tint (in %) of the color

gradientLocation1

number

ColorDefinitionChanged

Location (in %) of the first gradient color

gradientLocation2

number

ColorDefinitionChanged

Location (in %) of the second gradient color

gradientAngle

number

ColorDefinitionChanged

Angle (in degrees) of the gradient

gradientColor1

Color

ColorDefinitionChanged

Gradient start color

gradientColor2

Color

ColorDefinitionChanged

Grandient end color

type

ColorType

ColorDefinitionChanged

Color type

pantoneType

ColorType

ColorDefinitionChanged

The output color space of the Spot color

gradientType

GradientType

ColorDefinitionChanged

Gradient type

editableInPopup

ColorPopupEditType

 

Determines whether or not the color can be edited in the Color Picker popup.
If "inherit" is selected, the value from the Colors list is applied.

L

int

ColorDefinitionChanged

LAB's L Components

A

int

ColorDefinitionChanged

LAB's A component

B2

int

ColorDefinitionChanged

LAB's B component (Don't mistake with "B", which applies to RGB)

hexValue

string

 

Display hex value. This is set by the editor for display/information purposes. Setting this property has no effect

Inherits from

> DocumentBase
> DocumentListItemBase
> DocumentListItemSelectableBase

All information on this page must be treated as External Restricted, or more strict. https://www.chili-publish.com/security