Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

random color php

<?php
function randomColor()
{
    return "rgb(".rand(0,255).",".rand(0,255).",".rand(0,255).");";
}
?>
<body style="background-color:"<?php echo randomColor(); ?>"">
 
PREVIOUS NEXT
Tagged: #random #color #php
ADD COMMENT
Topic
Name
8+1 =