Fix error checking of color commands that pass in 2/3 color components
Fix test for color with 2 args