From Amiga Coding
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.


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