Table of Contents

ugBASIC User Manual

COLOR

SYNTAX

   COLOR index, shade

PURPOSE

This command allow to redefine every single color, and therefore to each index can actually be assigned a hue among the hues available. The indices are a small selection from a wide range of possible colors.

If we wish, we can set this number directly to a value between 0 and SCREEN SHADES. Typically, however, we use the RGB function that allows us to mix the gradient by obtaining it from the sum of three simple components.

EXAMPLE

  COLOR 0, $fff

ABBREVIATION

 Cr

AVAILABLE ON

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY