PHP Generate Color in Rainbow

I had to create a script that generated rainbow between 2 to 768 colors in the rainbow. It returns an array that can be referenced. It's ideal for 5 to 700 results. <?PHP // Generate Rainbow Points. function generatecolorcodes($numberofcolor) { // Find numbers to pick. if ($numberofcolor > 0 && $numberofcolor <= 768) { $divis = round(768 / $numberofcolor); $s = 0; while ($s…

Continue Reading