Color.RGB Method

Static convenience function to make color from red, green, and blue float components.

shared RGB(
   red as nfloat,
   green as nfloat,
   blue as nfloat) as Color

Parameters

red
Red component in the range 0.0 to 1.0.
green
Green component in the range 0.0 to 1.0.
blue
Blue component in the range 0.0 to 1.0.

Returns

Color

Remarks

See Also

Color Class