Display because PHP's color table parameters can only support 256, in order to achieve the display of 8 colors or more ribbons, I used the method of parameter transfer to achieve. The code for the implementation is as follows:
1, raw color with graphics program
transition.php
<?php
/*
* Function: Generate color Ribbon graphics
* Programmer: WLXZ
* Date: 2002-00-00
*/
2, call to generate a number of different graphics
view_color.php
<?php
/*
function
* Programmer: to Lebanon
* Date: 2002-00-00
*/
?>
<title> </title>
<meta name= "Author" content= "XIANG Li" >
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.