<?php $oPDF = new PDFlib();    $oPDF->set_parameter("textformat"       , "utf8");
    $oPDF->set_parameter("hypertextencoding", "unicode");
    $oPDF->set_parameter("hypertextformat"  , "utf8");
    define('PATH_CMaps', 'C:\pleiades\xampp\resource\cmap');
    $oPDF->set_parameter("SearchPath", PATH_CMaps);
    $PdfName = mb_convert_encoding("aaa", "Shift-JIS", "eucJP-win");
    $font_Go = $oPDF->load_font("HeiseiKakuGo-W5", "UniJIS-UCS2-HW-H", ""); $oPDF->begin_page_ext(595, 842, "");
$oPDF->setlinewidth(0.2);
//粉色
$sc = setColorRGB("FF99CC");
$oPDF->setcolor("fillstroke", "rgb", $sc["r"], $sc["g"], $sc["b"], 0); $oPDF->moveto(70,490);
$oPDF->lineto(525 , 490 );
$oPDF->lineto(525 , 355 );
$oPDF->lineto(70 , 355 );
$oPDF->lineto(70 , 490 ); $oPDF->moveto(70,205);
$oPDF->lineto(525 , 205 );
$oPDF->lineto(525 , 145 );
$oPDF->lineto(70 , 145 );
$oPDF->stroke();
$oPDF->end_page_ext("");      
$oPDF->end_document("");         
$buf = $oPDF->get_buffer();     
$len = strlen($buf);     
header("Content-type: application/pdf");
header("Content-Length: $len");
header("Content-Disposition: inline; filename=hello.pdf");
print $buf;
$oPDF->delete();
function setColorRGB($hexcolor) {
$color['r'] = hexdec(substr($hexcolor, 0, 2))/255;
$color['g'] = hexdec(substr($hexcolor, 2, 2))/255;
$color['b'] = hexdec(substr($hexcolor, 4, 2))/255;return $color;
}
?>这里我已经用粉色设了一个表
我想第二个标用 蓝色 
$sc = setColorRGB("0000FF");
但总是出错
帮个忙
帮我解决他把
谢谢