ColorUtilities.RGB(Variable, Variable, Variable) Method

Top 

Description

Returns a FreeFlyer color representing the specified color components.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

ColorUtilities.RGB(

Variable r,


Variable g,


Variable b)

 

 

Arguments

r


Description:

The red component of the color.

Valid Range:

0 ≤ r ≤ 1

 

 

g


Description:

The green component of the color.

Valid Range:

0 ≤ g ≤ 1

 

 

b


Description:

The blue component of the color.

Valid Range:

0 ≤ b ≤ 1

 

 

 

Return Value

Type:

number

 

 

A color value.

 

Syntax

myVariable1 = ColorTools.RGB(myVariable2, myVariable3, myVariable4);

 

 

See also

ColorUtilities Object

Color Reference