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.