[an error occurred while processing this directive]
Forms Processor Advanced Commands
Contents   Index of Commands   Search the Forms Processor Docs   
hex Returns the Hex value of the number specified. If you are not familiar with Hex, it is a number system that has the range of 0 to F (0 to 15), pair these together to get larger numbers (eg: 0xAF).

$output = hex(n);

Example:

# convert decimal level color values to hex values compatible with netscape

$r_hex = hex($red);
$g_hex = hex($green);
$b_hex = hex($blue);

format screen

The color value to use in netscape color references is:<br>
<ul><b>$r_hex$g_hex$b_hex</b>
</ul>

.

[an error occurred while processing this directive]