Given there are now 4 colors available, it would be convenient to allow users to override the existing color defaults with ones of their choosing. New flags should be introduced to control color specification:
--color_0 - sets the color when no pixels are draw
--color_1 - sets the color when pixels are turned on in the first bitplane only
--color_2 - sets the color when pixels are turned on in the second bitplane only
--color_3 - sets the color when pixels are turned on in both bitplanes
The colors should take the form of a hexadecimal RGB value. The value is specified as:
Thus, the first two values set the red portion of the color, ranging from 00 (0) to FF (255). Similarly, the next two set the green portion, and the last two set the blue portion. Some examples: the following would set the background color to black:
The following would set the first bitplane color value to blue:
The following would set the second bitplane color value to pink:
Given there are now 4 colors available, it would be convenient to allow users to override the existing color defaults with ones of their choosing. New flags should be introduced to control color specification:
--color_0- sets the color when no pixels are draw--color_1- sets the color when pixels are turned on in the first bitplane only--color_2- sets the color when pixels are turned on in the second bitplane only--color_3- sets the color when pixels are turned on in both bitplanesThe colors should take the form of a hexadecimal RGB value. The value is specified as:
Thus, the first two values set the red portion of the color, ranging from
00(0) toFF(255). Similarly, the next two set the green portion, and the last two set the blue portion. Some examples: the following would set the background color to black:The following would set the first bitplane color value to blue:
The following would set the second bitplane color value to pink: