Skip to content

Allow Color Customization on Command Line #30

@craigthomas

Description

@craigthomas

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:

RRGGBB

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:

--color_0 000000

The following would set the first bitplane color value to blue:

--color_1 0000FF

The following would set the second bitplane color value to pink:

--color_2 FF00C3

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions