Board Thread:Program Announcements/@comment-25017421-20140603081447/@comment-14600979-20140617134339

"And the color issue, stems from the fact that while, yes, I can have whatever colors I want from COLSET, I can only display 256 colors at once on the screen, and I'm not sure how to handle the calculations to ensure that it doesn't create duplicate colors while maintaining speed."

So just increment a variable every time you make a new color... and use that variable as the number it sets the color to.