| BASECOLOR | |
| Syntax | BASECOLOR color |
| Explanation | BASECOLOR takes a three-element list of RGB color values as input, maps this color to one of the 256 colors used by PC Logo, and returns the number of that color. BASECOLOR is convenient when a program uses PC Logo color values in a full-color environment. |
| Examples | BASECOLOR [63 63 191] Result: 63 BASECOLOR "GOLD Result: 215 BASECOLOR "RED Result: 12 SETPC 123 PC Result: [170 31 255] BASECOLOR PC Result: 123 |