mixing palette

 BBS: Inland Empire Archive
Date: 12-23-92 (13:59)             Number: 301
From: EARL MONTGOMERY              Refer#: NONE
  To: CHRIS BERGERON                Recvd: NO  
Subj: mixing palette                 Conf: (2) Quik_Bas
Here is one way to accomplish it:
SCREEN 13
COLOR 142
OUT &H38,142
OUT &H39,R  'VALUE BETWEEN 0 AND 63 WITH GIVE THE RED MIX
OUT &H39,G  '                                     GREEN MIX
OUT &H39,B  '                                     BLUE MIX
Hope this helps
Earl

--- Maximus 2.01wb
 * Origin: Rabbit and Snake's BBS - Richardson, Texas (1:124/6108)
Outer Court
Echo Basic Postings

Books at Amazon:

Back to BASIC: The History, Corruption, and Future of the Language

Hackers: Heroes of the Computer Revolution (including Tiny BASIC)

Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution

The Advent of the Algorithm: The Idea that Rules the World

Moths in the Machine: The Power and Perils of Programming

Mastering Visual Basic .NET