Ok i looked a bit further into this, its not the icon of the item tinting the item, its the slot on the basket.
Eg i have a basket of Full of sand, a few of the slots at the top of the basket , the sand in those slots has a colour tint.
Now Whatever item i put into those slots also gets the same colour tint and if i move the sand into a non stained slot
it has the normal colour again, move it back to the old slot and it has the colour tint back.
ill try to dig out some images.