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 colours in the palette
duplicatecountThe number of duplicate colours in the palette
filenameThe palette filename
nowThe current date and time, in local time
nowutcThe current date and time, in UTC time
rgbcolorsArray of colours in the palette, in RGB format
uniquecountThe number of unique colours in the palette

Each item in the rgbcolors collection contains these properties.

PropertyDescription
aAlpha channel value (0-255)
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.

See Also

Liquid Reference

© 2014-2023 Cyotek Ltd. All Rights Reserved.
Documentation version 1.8 (buildref #135.15699), last modified 2023-04-04. Generated 2024-02-29 10:57 using Cyotek HelpWrite Professional version 6.19.1