ugly temporary fix of orient2rgb old issue + added defensive copy of representatives colors to avoid a currently open bug
added some comments to explain the ugly fix