Color of each cell would be as per it's rank in row-wise. If a row has 25 cells and each cell can have different rank as it's value then each cell will have 25 different colors. Minimum is red and Max would be green.
Each row can have different value combinations. Using tableau it's very much easy.