-
When a user enters
node index.js
block of 31x9 # characters colored with a random color gets generated. -
The app also accepts for a hue and/or luminosity as command line arguments and then generate random colors that match those choices.
node index.js
Valid arguments for hue:
- red, orange, yellow, bue, violet, green, cyan
Valid arguments for luminosity:
- dark, light
Usage examples:
node index.js
: Returns a block of 31x9 # characters with a random color.
node index.js blue light
: Returns a block of 31x9 # characters with a random color of blue hue and light luminosity.
- Print block of 31x9 # characters when running
node index.js
- Make that in the rows 4, 5 and 6 of the block there are blank spaces instead of '#' between the columns 6 and 25
- Generate random hex color
- Make hex code appear in the center of row 5
- Make text color equal to the randomized hexcode
- Make the program accept a argument (red, orange, yellow, blue, violet, green, cyan) or no argument; otherwise print "invalid argument"
- Pair the hue arguments to a range of matching colors
- Make the program accept a second argument (dark, light)
- Make the program output luminosity equivalent to said argument
- [] Add hue argument options for white, gray and black.mmm