Matrix1 Utility Plug-ins

# ANSI COLOUR

Syntax

Colour = ANSI COLOUR ( Ansi Colour ID ) Colour = ANSI COLOUR ( Ansi Colour ID, Alpha )

Description

This function will return a colour based upon the Ansi terminal colour set. The first version of this command returns a colour with an alpha value of 255 (no fade) set. The numbers to use are: 0 - black 1 - dark red (maroon) 2 - dark green (green) 3 - dark yellow (olive) 4 - dark blue (navy) 5 - dark magenta (purple) 6 - dark cyan (teal) 7 - grey (silver) 8 - dark grey (grey) 9 - red (red) 10 - green (lime) 11 - yellow (yellow) 12 - blue (blue) 13 - magenta (fuchsia) 14 - cyan 15 - white The names in brackets are the official CSS3 colour names

Go back to ...

Matrix1Util_23 Commands Menu
Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011