If I understand what you are looking for, I think you may be looking for the ‘Background Color Mapping’ portion of the table customizer.
Set the Background Mode property on the table to ‘Mapped’, then open the Table Customizer and switch to the Background Color Mapping tab. You can select the column that contains the variable to use for color mapping (must be a numeric column), and then set the color associated with each number.
