hex code with loop
public php v1 · immutable<?php$hex = array ('0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f');for ($i = 0; $i < 6; $i++){$hexout .= $hex[rand(0, 15)];}print "<span style=\"background-color:#$hexout\">This is $hexout.</span>";