Henry Robbins color_matrix (2021)
Netpbm (P3) source code
The rows and columns of the matrix are the colors white, red, green, blue, and
black in that order. The remaining entries of the matrix are the respective
column and row colors added together. For example, blue (001) + green (010) =
cyan (011).