AMOSi:Colour

From Amiga Coding
Revision as of 02:45, 17 November 2007 by Spellcoder (talk | contribs) (Extracted from the AMOSPro V2.00 helpfile)
Jump to: navigation, search

an example can be found on AMOSPro_Examples:Examples/H-0/Help_5.AMOS


Reads or changes the colour value assigned to one of your colour indexes.


Colour indexnumber,$RGB

Changes a colour in the palette, by setting the strength of its Red, Green and Blue components.


c=Colour(index)

Returns the hexadecimal colour value held in one of your colour indexes as a proportion of Red, Blue amd Green components.


Print Hex$(Colour(Index))