🌈Color Wheel
What is the color wheel? How does it work?
The application starts by initializing the color wheel display to the console using an internal function, RenderWheel(). The color wheel then renders the current color in all the four modes:
Normal
Protanopia
Deuteranopia
Tritanopia
...using their rendered colors as the box color in an attempt to visualize what color is being used in the above modes.
The color wheel writes down the following information for each color mode:
Color RGB sequence
The color RGB sequence in the
RRR;GGG;BBBformat for VT sequences
HTML code
The color sequence in the HTML format
#FFFFFFto facilitate usage for web development (HTML, CSS, ...)
Color type
This specifies the color type as follows:
TrueColor_255Color_16Color
This is inferred according to the color type, but it's usually the current color type for the color wheel.
Bright?
Find out if your selected color is bright or not.
The controls are then rendered. The color wheel waits for a keypress to do appropriate action. The controls are:
<-and->Changes the RGB mode
ARROW UPandARROW DOWNChanges the color
CTRL + <-andCTRL + ->Changes the color blindness severity
TABChanges the color mode
ESCExits the color wheel
HDisplays the help page
Last updated