class | TCPDF_COLORS PHP color class for TCPDF |
---|---|
package | com.tecnick.tcpdf |
version | 1.0.004 |
author | Nicola Asuni - info@tecnick.com |
_JScolor(string $color)
protected | |
---|---|
since | 2.1.002 (2008-02-12) |
public | static |
string
color name or "#RRGGBB"
convertHTMLColorToDec(string $hcolor,array &$spotc,array $defcol = array('R' => 128, 'G' => 128, 'B' => 128)): array|false
public | static |
---|
string
HTML color.
array
Reference to an array of spot colors.
array
Color to return in case of error.
array|false
RGB or CMYK color, or false in case of error.
getColorStringFromArray(array $c): string
since | 5.9.137 (2011-12-01) |
---|---|
public | static |
array
Array of colors.
string
The color array representation.
getSpotColor(string $name,array &$spotc): array|false
since | 5.9.125 (2011-10-03) |
---|---|
public | static |
string
Name of the spot color.
array
Reference to an array of spot colors.
array|false
Spot color array or false if not defined.
webcolor :
public | static |
---|---|
jscolor :
public | static |
---|---|
spotcolor :
As long as no open standard for spot colours exists, you have to buy a colour book by one of the colour manufacturers and insert the values and names of spot colours directly. Common industry standard spot colors are: ANPA-COLOR, DIC, FOCOLTONE, GCMI, HKS, PANTONE, TOYO, TRUMATCH.
public | static |
---|---|