Gloom was a rejected character from Inside Out and was going to be the antagonist of the movie and was going to grow bigger as he becomes more important.
Early concepts of him can be seen in the Art of Inside Out book.
Early Gloom concept with an early version of Riley.
Another piece of concpet of Gloom.
How Gloom would grow throughout the movie.