Apply all the colors of a flat bitmap to a texture to color it
Hi everyone, I'm a newbie on Substance Designer, I created a texture for a carpet that references a flat pattern created earlier, to simulate the contours of the tufts to make it smooth between colors, the problem arises right here: I don't really know where to put my hands to get each color in the bitmap to be applied as such and such to the base color of the texture, I tried using a Quantize Grayscale to determine all the different gray tones, but it doesn't seem to work at all.
I hope this makes sense, thanks in advance!
I attach below an image of the bitmap:

