Posted By

romanos on 06/12/08


Tagged

hex random colour


Versions (?)

Generate random colour in 1 line


 / Published in: PHP
 

URL: http://www.vin2.ru

You can use it to make random colour page elements.

  1. dechex(rand(0,10000000));
  2.  
  3. //example 240bfd

Report this snippet  

You need to login to post a comment.