Grasshopper API
GH_GraphicsUtilColourARGB Method (Int32, Int32, Int32, Int32) |
Create a colour from integer ARGB channels.
Channels are clipped to valid ranges.
Namespace: Grasshopper.GUI
Assembly: Grasshopper (in Grasshopper.dll)

public static Color ColourARGB( int a, int r, int g, int b )
Public Shared Function ColourARGB ( a As Integer, r As Integer, g As Integer, b As Integer ) As Color
Parameters
- a
- Type: SystemInt32
- r
- Type: SystemInt32
- g
- Type: SystemInt32
- b
- Type: SystemInt32
Return Value
Type: ColorReturns the colour as implied by the ARGB channel values.
