Alright:
If you cross color stripes (A) and yellow stripes (Y) you use punned squares to figure out the rest.
In genetics, you can have 3 combinations. Aa, AA, and aa (or Yy, YY, and yy). If you cross each of these in a punned square with each combination, you have 9 different possibilities- each that have 4 possibilities inside of them, making 36 total possible outcomes.
Although, most of the 36 are repeating, so you can get one of two answers: dominant (if it has a capital letter) and recessive (no capital letters)
To answer your question, you will have the following:
-a grasshopper with both colors.
-a grasshopper with yellow.
-a grasshopper with neither.
-a grasshopper with both.