Your answer, "The Midianites", is not correct.
The correct answer to
Who sold Joseph (of the coat of many colors) into captivity?
is
The Ishmaelites
as shown by
Genesis 39:1
which is
- KJV
- And Joseph was brought down to Egypt; and Potiphar, an officer of Pharaoh, captain of the guard, an Egyptian, bought him of the hands of the Ishmeelites, which had brought him down thither.
- NIV
- Now Joseph had been taken down to Egypt. Potiphar, an Egyptian who was one of Pharaoh's officials, the captain of the guard, bought him from the Ishmaelites who had taken him there.