You could try putting like colors in an old pillow case and tying it closed. Wash them as you usually would, then put the whole thing in the dryer with a couple of tennis balls to keep it from settling in one place. The fabrics are not directly subjected to the agitation of the machine and usually come out with fewer frayed ends and less tangled.