graph: change the way colors work

Sending magic ints? Well, it goes to show how much time I have spent on the physics part of the program.