As we know, any colour can be formed using RGB so matrix 3rd parameter would always be 3 irrespective of image size ?