Implemented weighted colour selection from parents.