generating all css colours with php?

I was looking at doing this just to generate all css colours, i think the only issue is there is a lot!

You can do this with rgb(0,0,0) all the way up to rgb(255,255,255) how many seperate colours is that? a lot...

If you do all the counters at once then its not as many. But you would need to go something like this:

rgb(0,0,1) 

rgb(0,0,2) 

rgb(0,0,..) 

rgb(0,0,255) 

rgb(1-255,0,1..255) 

rgb(2,0,1..255) 

rgb(1-255,1-255,1..255) 

So yes that would be a lot. 

 

 

Other Items in php
Page Views

This page has been viewed 76 times.

Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code snippits here, mostly for my reference. Also if i find a good site, i usually add it here.

❤👩‍💻🕹

Random Quote
Treasure every moment that you have and treasure it more because you shared it with someone special, special enough to spend your time...and remember that time waits for no one.
Unknown