change Mondrian color
This commit is contained in:
@@ -25,10 +25,10 @@ function DrawBlock($the_block, $vImage, $parametres)
|
||||
imagefilledrectangle($vImage, $x, $y, $x+$width, $y+$height, $vFgColor);
|
||||
|
||||
$couleurs = array();
|
||||
$couleurs[0] = imagecolorallocate($vImage, 255, 255, 255);
|
||||
$couleurs[1] = imagecolorallocate($vImage, 255, 0, 0);
|
||||
$couleurs[2] = imagecolorallocate($vImage, 0, 0, 255);
|
||||
$couleurs[3] = imagecolorallocate($vImage, 255, 255, 0);
|
||||
$couleurs[0] = imagecolorallocate($vImage, 245, 245, 240); // 255,255,255 Blanc
|
||||
$couleurs[1] = imagecolorallocate($vImage, 155, 30, 10); // Rouge
|
||||
$couleurs[2] = imagecolorallocate($vImage, 12, 102, 153); // Behr Mondrian Blue #0c6699
|
||||
$couleurs[3] = imagecolorallocate($vImage, 240, 200, 5); // Jaune
|
||||
|
||||
$full_area = $width * $height;
|
||||
if ($full_area == 0) $full_area = 1;
|
||||
|
||||
Reference in New Issue
Block a user