There are six red, yellow and blue glass balls of the same size in the pocket. At least how many can guarantee three glass balls?

There are six red, yellow and blue glass balls of the same size in the pocket. At least how many can guarantee three glass balls?

There are six red, yellow and blue glass balls of the same size in the pocket, and at least three can ensure that the three glass balls have the same color