The following properties are exposed for use in Liquid templates.

PropertyDescription
appnameThe application name
appversionThe application version, in major and minor format
countTotal number of colors in the palette
duplicatecountThe number of duplicate colors in the palette
filenameThe palette filename
nowThe current date and time, in local time
nowutcThe current date and time, in UTC time
rgbcolorsArray of colors in the palette, in RGB format
uniquecountThe number of unique colors in the palette

Each item in the rgbcolors collection contains these properties.

PropertyDescription
bBlue channel value (0-255)
gGreen channel value (0-255)
indexSwatch index
nameSwatch name
rRed channel value (0-255)

See the sample template Liquid Demo for a demonstration of supported properties and filters.

© 2014-2021 Cyotek Ltd. All Rights Reserved.
Documentation version 1.7 (buildref #411.-), last modified 2021-06-01. Generated 2023-04-02 08:18 using Cyotek HelpWrite Professional version 6.19.1