If you mean the general grouping of six colors of the rainbow spectrum paralleling in some inspired allegorical way the six lighted-up days of creation - I seriously doubt it. The main reason would be there are more than six colors in a rainbow as the colors seamlessly blend into each other. Even the ancient writer would have perceived this.
Peter K