The following properties are exposed for use in Liquid templates.
Property | Description |
---|---|
appname | The application name |
appversion | The application version, in major and minor format |
count | Total number of colors in the palette |
duplicatecount | The number of duplicate colors in the palette |
filename | The palette filename |
now | The current date and time, in local time |
nowutc | The current date and time, in UTC time |
rgbcolors | Array of colors in the palette, in RGB format |
uniquecount | The number of unique colors in the palette |
Each item in the rgbcolors
collection contains these properties.
Property | Description |
---|---|
b | Blue channel value (0-255) |
g | Green channel value (0-255) |
index | Swatch index |
name | Swatch name |
r | Red channel value (0-255) |
See the sample template Liquid Demo
for a demonstration of supported properties and filters.