Need information on load balancing based on header parameter

I have 2 servers those added as targets in Upstream. I used this upstreams and able to balance load based on the weight round-robin algorithm. I am looking for header parameter base load balancing. Let’s say I add Blue as a header parameter value so the request should respond from the blue server else it should respond from the green server.
Is it possible in Kong CE 2.0 version?

Look at hash_on and hash_on_header properties.