
The relationship between color selection sequences and the resulting colors for several ribbon cassettes is shown in the following table:
| selected | yellow, magenta, cyan, | red, green, blue, |
| 3 ∗ black, red | ||
| color | black |
| black |
|
| |
|
| (YMCK) |
| (RGBK) |
|
| |
| black | black |
| black |
| black | |
| red | red *) |
| red |
| red | |
| green | green **) |
| green |
| ****) | |
| yellow | yellow |
| green |
| ****) | |
| blue | blue ***) |
| blue |
| ****) | |
| magenta | magenta |
| red |
| red | |
| cyan | cyan |
|
| blue |
| ****) |
|
|
|
|
|
|
| |
* | red = yellow + magenta | } |
|
|
|
| |
** | green = yellow + cyan |
| |||||
***blue = magenta + cyan
****sequence is ignorered
The sequence CSI 0 m resets all CSI...m
Example | 10 REM | color selection | |
| 20 | LPRINT | CHR$(27);"[31m"; |
| 30 | LPRINT | "this is written with red colour" |
| 40 | LPRINT | CHR$(27);"[34m"; |
| 50 | LPRINT | "this is written with blue colour" |
| 60 | END |
|