Go to the properties of a block and change the pattern color to the object's color