🌈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;BBB
format for VT sequences
HTML code
The color sequence in the HTML format
#FFFFFF
to 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 UP
andARROW DOWN
Changes the color
CTRL + <-
andCTRL + ->
Changes the color blindness severity
TAB
Changes the color mode
ESC
Exits the color wheel
H
Displays the help page
Last updated