You send the Color Cells message to the data column. The first argument is color specification and the second is the optionally the row number or list of row numbers. If you do not specify the rows, then the current row selection is affected.
There is no 'color by' capability. You have to iterate over the unique values in the one column, select matching rows, and assign the next color.