webcolors
install it with
pip3 install webcolors
To run the genetic algorithm do:
python3 optimal-pixel-plant.py <execution_mode> <num_generations> <pop_size>
execution_mode
is the expected behavior on each of the homework problems (1, 2 or 3)
num_generations
is the total number of generations to run
pop_size
is the initial population size