{{htmlmetatags>metatag-robots=()
metatag-title=(COLOR | ugBASIC User Manual)
metatag-keywords=(ugBASIC,Commodore 64,Commodore PLUS/4,ZX Spectrum)
metatag-description=(Manual page for COLOR)
metatag-media-og:image=(:ugbasic:logo-ugbasic-fb.png)
metatag-og:title=(COLOR | ugBASIC User Manual)
metatag-og:description=(Manual page for COLOR)
}}
====== 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 ====
* Commodore 128 (MOS 8502)
* Commodore 64
* Commodore VIC-20
* Atari (400/800)
*
* Commodore PLUS/4
* Olivetti Prodest PC128
* Thomson MO5
==== ANY PROBLEM? ====
If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please [[https://github.com/spotlessmind1975/ugbasic/issues/new?title=ISSUE ON COLOR|open an issue]] for this keyword on GitHub. Thank you!===== POWERED BY =====
[[:ugbasic:user:index|{{ :ugbasic:user:logo-ugbasic.png?nolink&600 |}}]]