ColorTools
RGBToRGB24
convert floating-point RGB to 24-bit color value
Calling Sequence
Parameters
Description
Examples
Compatibility
RGBToRGB24(fl)
fl
-
list; list of 3 float values between 0-1 that represent a color
The RGBToRGB24 command converts from a float RGB color to a 24-bit RGB color. If the input is not a valid float color, an error is thrown.
with⁡ColorTools:
RGBToRGB24⁡1.,1.,0.
255,255,0
RGBToRGB24⁡0,−0.01,0
Error, (in ColorTools:-RGBToRGB24) invalid float color value: [0, -.1e-1, 0]
The ColorTools[RGBToRGB24] command was introduced in Maple 16.
For more information on Maple 16 changes, see Updates in Maple 16.
See Also
Download Help Document
What kind of issue would you like to report? (Optional)