The Rainbow Flower appears randomly after using the Squirter on a Bud, when a Pink Smogling turns a regular flower into it, or when a Rainbow is out and you turn a Bud into a Flower when it is out on Chibi-Robo!: Park Patrol. If you take one to the flower shop, you will get 100 Happy Points for it.