BASIC GETPALETTE$ Function - fvdhoef/aquarius-plus GitHub Wiki
GETPALETTE$
TYPE: plusBASIC graphics function
FORMAT: GETPALETTE$ ( palette )
Action: Returns the RGB values in the specified palette.
- palette is a pallete number in the range 0 through 3.
- Returns a 32 character binary string containing 16 RGB values.
Example:
C$ = GETPALETTE$(P)
H$ = HEX$(C$)
J = 4*I
PRINT MID$(H$,J+4,1);MID$(H$,J+1,2)
Prints the hexadecimal RGB value of index I of color palette P.