AMOSi:Colour

From Amiga Coding
Revision as of 01:51, 17 November 2007 by Spellcoder (talk | contribs) (1 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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))