PHP Lib HTML

© Christian Paulus - Document créé le 2001-01-01, mis à jour le 2008-12-11

Il y a des moments où tout réussit. Il ne faut pas s'effrayer : ça passe.Jules Renard (Journal)

Fonctions PHP DUMP: La libraire des fonctions HTML propose la gestion de couleurs nommées.

Ces fonctions sont illustrées dans la rubrique des astuces HTML, à propos des couleurs normalisées et des couleurs nommées.


kzo_html_color_dump_rgbsquare_webcolors() dump html table of HTML normalized colors.
@version 1.0, 09/05/2004
@param $cellmargin (option) cell margin
@param $border (option) table border
@param $cellsize (option) cell size
@param $printcolor (option) print hex result in cell, TRUE for active, FALSE otherwise
@since PHP3
@return Hexadecimal HTML colors array
kzo_html_color_dump_webcolors() dump html table of HTML normalized colors.
@version 1.0, 09/05/2004
@param $webcolor Array 216 normalized web colors
@param $cellmargin (option) cell margin
@param $border (option) table border
@param $cellsize (option) cell size
@param $printcolor (option) print hex result in cell, TRUE for active, FALSE otherwise
@since PHP3
@return Hexadecimal HTML colors array
kzo_html_color_get_webcolors() get HTML colors, hexa array.
@version 1.0, 09/05/2004
@since PHP3
@return Hexadecimal HTML colors array
kzo_html_color_ie4ColorBanner() return ie4 HTML named color table.
@version 1.1, 19/03/2005
@version 1.0, 09/05/2004
@param $code (option) use ie4 name (FALSE) or HTML hexa code (TRUE: default)
@param $width (option) width of HTML table
@param $height (option) width of HTML table
@since PHP3
@return HTML named colors array (key/value)
kzo_html_color_namedColorBanner() build html table of HTML named colors.
@version 1.0, 09/05/2004
@param $width (option) width of HTML table
@param $height (option) width of HTML table
@since PHP3
@return HTML named colors array (key/value)
kzo_html_color_namedColorMiniPalette() build mini palette (4x4) html table of HTML named colors.
@version 1.0, 18/05/2004
@param $totalsize (option) width of HTML table
@param $border (option) print outline for each color
@param $onclick (option) javascript call for each square
@since PHP3
@return HTML named colors array (key/value)

Autres fonctions disponibles dans la librairie PHP sur Quesaco :