created: 20150221154058000
modified: 20150221154522000
tags: Macros [[Core Macros]]
title: colour Macro
type: text/vnd.tiddlywiki
caption: colour

The <<.def colour>> (or <<.def color>>) [[macro|Macros]] returns the [[CSS|Cascading Style Sheets]] value of one the colours in the current [[palette|ColourPalettes]].

If no such entry exists in the current palette, the [[vanilla palette|$:/palettes/Vanilla]] is used instead.

!! Parameters

;name
: The name of the palette entry, e.g. `page-background`

<<.macro-examples "colour">>
