Search Locate Previous Next Contents

leaf.Colour – set paragraph colour

Colour of paragraph text using the standard HTML colour names:

‘maroon,green,navy’ etc. ... Dull colours

‘red,lime,blue’, etc. ... Bright colours

leaf.Colour 'teal'
leaf.Set ('font' 'ti,16')('colour' 'blue')

The complete list is given in leaf.‘colours. You can also use the standard HTML colour convention with ‘#FFFFFF’ being bright white and so on. For compatibility with old NewLeaf code, short (case-sensitive) colour abbreviations are also allowed.



Continue to: leaf.Decimal – set decimal separator
© Copyright Causeway Graphical Systems Ltd 2001