Flix Interview Question

Matrix of three color.