to24BitRgbOrNull

Turns the pattern into a 24-bit RGB colour array, if it is valid.

Return

24-bit RGB colour array of this pattern, or null if the pattern is corrupt.