color table and test code