Improve generate_gradients.py script

Made it easier to copy-paste its output into colors.json and added a way to omit computing colours for terminal as it is very slow.