Yes, both cooking salts and standard table salts in the right proportion are fine and, in fact, the only salts you should be used for dyeing!