Skip to content

BASIC DEF RGBLIST Statement

Curtis F Kaylor edited this page Oct 11, 2023 · 1 revision

DEF RGBLIST

TYPE: plusBASIC graphics statement


FORMAT: DEF RGBLIST var$ = rgb_values

Action: Creates an RGB color list.

  • var$ is a simple string variable.
  • rgb_values is a series of semi-colon separated RGB triplets.
    • Each RGB triplet is a red, green, and blue value separated with commas.

Example:

DEF RGBLIST R$ = 15,0,0; 0,15,0; 0,0,15

Creates an RGB color list consisting of the colors red, green, and blue.

Clone this wiki locally