Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/333ggg/www/akisame/wpcore/wp-content/plugins/ultimate_ga_1.6.0.php on line 524
PearのImage_Graph調べた。
どこを見ても red だのgreen だのでしか書いてなかったので、RGBで指定できないのかと思ってたけどそんなことはない。
以下いずれも可能。
$obj =& Image_Graph::factory(‘Image_Graph_Fill_Array’);
$obj->addColor(‘red’);
$obj->addColor(‘red@0.3’);
$obj->addColor(‘#00ff33);
@はアルファ値と言って透明度を調整するらしい。(明るくなる)