Lb legend parameters categorized

Wanting to Overlay some comfort values over a sun path and i didnt want the legend to be -1,0,1 so i was attempting to use the Categorized Parameters and i get this error. Along with the Rhino and Solar images

“1. Solution exception:The length of colors must be one more than the length of domain for a LegendParametersCategorized.3 != 1 + 1”

Check the colors output,how many colors code exists in that list? When you use list item with 9 index it means the colors list must has atleast 9 items and I dont think so