GH_GraphicsUtil.ColourARGB Method (Double, Double, Double)

GH_GraphicsUtilColourARGB Method (Double, Double, Double)

Create a colour from floating ARGB channels (0.0~1.0). Channels are clipped to valid ranges.

Namespace:  Grasshopper.GUI
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public static Color ColourARGB(
	double r,
	double g,
	double b
)
Public Shared Function ColourARGB ( 
	r As Double,
	g As Double,
	b As Double
) As Color

Parameters

r
Type: SystemDouble
g
Type: SystemDouble
b
Type: SystemDouble

Return Value

Type: Color
The colour implied by the RGB channel values.
See Also