The colors need to match the size of the transition matrix and therefore we need to have this input check. The output is always a matrix of the exact same dimensions as the transition matrix.
prTcValidateAndPrepClr(value, no_cols, no_rows, is3D)
matrix
Returns a matrix of the same size as the
transition matrix
The color values
The no. of columns in the transition matrix
All the row counts in the transition plot
Whether the transition matrix has 3 dimensions