Grasshopper API
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)

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: ColorThe colour implied by the RGB channel values.
