*TOOLS/CONVERTHTMLCOLOR Convert HTML Color Name into Hex Color
Invocation
CALL "*tools/converthtmlcolor",htmlcolorname$,outputhexcolor$
Where:
htmlcolorname$ | Name of the HTML color to convert. |
outputhexcolor$ | Output string where the Hex color is returned. |
Description
Convert HTML color name into Hex color.
(The ConvertHTMLColor utility was added in PxPlus 2021.)
Example
CALL "*tools/converthtmlcolor","DarkGoldenRod",hexcolor$
Where:
hexcolor$ will be "#b8860b" (the Hex color of the HTML color "DarkGoldenRod").