sprite .color .swap .stack  (  Red ,  Green ,  Blue ,  Red ,  Green ,  Blue  )  
                                                         
Description :

This instruction swaps one color in the next sprite to be displayed with another color.

Parameters :

  • Red component of the initial color. Valid in the range [0,255].
  • Green component of the initial color. Valid in the range [0,255].
  • Blue component of the initial color. Valid in the range [0,255].
  • Red component of the new color. Valid in the range [0,255].
  • Green component of the new color. Valid in the range [0,255].
  • Blue component of the new color. Valid in the range [0,255].

Examples :