Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

grenerating random text color for text for image php

$im     =  imagecreatetruecolor(800,400);
function color_generator($im){
  $color = imagecolorallocate($im,rand(0,500),rand(0,500),rand(0,500));
  return $color;
}
$color = color_generator($im);
 
PREVIOUS NEXT
Tagged: #grenerating #random #text #color #text #image #php
ADD COMMENT
Topic
Name
3+2 =