Grasshopper API
GH_GraphicsUtilInvertColour Method |
Computes the inverted colour. Alpha remains the same.
Namespace: Grasshopper.GUI
Assembly: Grasshopper (in Grasshopper.dll)

public static Color InvertColour( Color col )
Public Shared Function InvertColour ( col As Color ) As Color
Parameters
- col
- Type: System.DrawingColor
Return Value
Type: ColorColour where RGB channels are set to 255-C.
