Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cmd:colour [2014/01/23 01:59]
mcb30
cmd:colour [2014/01/23 02:20]
mcb30
Line 22: Line 22:
 ===== Description ===== ===== Description =====
  
-Define the specified colour index (in the range ''​0''​ to ''​7''​) to use the specified basic ANSI colour (in the range ''​0''​ to ''​7''​) and the specified 24-bit RGB colour (in the range ''​0x000000''​ to ''​0xffffff''​). ​ The basic ANSI colour will be used on consoles which do not support arbitrary ​24-bit ​RGB colours.+Define the specified colour index (in the range ''​0''​ to ''​7''​) to use the specified basic ANSI colour (in the range ''​0''​ to ''​7''​) and the specified 24-bit RGB colour (in the range ''​0x000000''​ to ''​0xffffff''​). ​ The basic ANSI colour will be used on consoles which do not support arbitrary RGB colours.
  
-If the 24-bit ​RGB colour ​is omitted, then only the basic ANSI colour will be used.  If the basic ANSI colour is omitted, then the default colour (white foreground, black or transparent background) will be used.+If the RGB value is omitted, then only the basic ANSI colour will be used.  If the basic ANSI colour is omitted, then the default colour (white foreground, black or transparent background) will be used.
  
 The default colour definitions are: The default colour definitions are:
Line 37: Line 37:
 | 6             | 6 (cyan) ​            | | 6             | 6 (cyan) ​            |
 | 7             | 7 (white) ​           | | 7             | 7 (white) ​           |
 +| 9             | 9 (default)((ANSI colour 9 indicates "​default":​ this will be white when used as a foreground colour and black (or transparent) when used as a background colour. ​ Colour index 9 cannot be redefined using the ''​colour''​ command.)) ​ |
  
 ===== Command status ===== ===== Command status =====
cmd/colour.txt ยท Last modified: 2014/01/23 02:20 by mcb30
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL https://ipxe.org
References to "iPXE" may not be altered or removed.