Skip to main content

Interface: ColorDefinition

Properties​

browserValue​

browserValue: string

Represents the color value in hex or any other browser supported format. This will be used when rendering the canvas in an environment that doesn't support spot color.


pmsValue?​

optional pmsValue?: string

Represents the color value in the PMS colorspace.


spotColor?​

optional spotColor?: SpotColorDefinition

A spot color definition. This is optional and will be applied to the SVG returned by toString when configured allowing filegen to output spot colors.