Bash implementation of color spectrum for IP subneting