Difference between revisions of "AMOSi:Colour"

From Amiga Coding
Jump to: navigation, search
(Extracted from the AMOSPro V2.00 helpfile)
m (1 revision(s))
 
(No difference)

Latest revision as of 01:51, 17 November 2007

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))