add 256 color check to spectrum