Mint NFT with exact property value - ERC721

Hey guys. I already have an NFT collection with metadata and images on IPFS. Let's say there is a properly in the metadata called color and there are 4 different colors - blue, orange, green, white. Every single color has a 25% rarity. My idea is to give the user chance to pick NFT from this already created collection based on his color preferences. Is there a way to do that in the mint functionality?