4D Write v16

WR COLOR TO RGB

Home

 
4D Write v16
WR COLOR TO RGB

WR COLOR TO RGB 


 

WR COLOR TO RGB ( color ; red ; green ; blue ) 
Parameter Type   Description
color  Longint in Color
red  Longint in Receives red value (0 to 65535)
green  Longint in Receives green value (0 to 65535)
blue  Longint in Receives blue value (0 to 65535)

The WR COLOR TO RGB command maps the color defined by color into its three components: red, green, and blue. These values range from 0 to 65535.
color is an internal number used by 4D Write and can be obtained with the WR RGB to color function.

Example  

The following example calculates the closest grey for a given color:

 
PROPERTIES 

Product: 4D Write
Theme: WR Utilities
Number: 89169

 
HISTORY 

Created: 4D Write 6

 
ARTICLE USAGE

4D Write Language ( 4D Write v16)