How do I make a custom biome have gradient grass like swamps?

I'm working on making a biome but i'd like it to have a gradient of 2 colours (possibly 3, but I doubt that's possible) like the swamp
Continue to help post