Home > Q&A > body text
$red = imagecolorallocate($img, 255, 0, 0);
$green = imagecolorallocate($img, 0, 255, 0);
$blue = imagecolorallocate( $img, 0, 0, 255);
How come there are only three coordinate values when assigning colors