passing moree than one value of slugs in taxonomy using variable

Try

'terms' => $term_value_array

instead of

'terms' => array( $term_name )

It looks like the problem is that you use array("'red','green'") instead of the array structure: array('red','green') that you want.