Grasshopper API
GH_GraphicsUtilScaleColour Method |
Multiply the channels of a colour construct with a fixed factor.
Namespace: Grasshopper.GUI
Assembly: Grasshopper (in Grasshopper.dll)

public static Color ScaleColour( Color col, double factor )
Public Shared Function ScaleColour ( col As Color, factor As Double ) As Color
Parameters
- col
- Type: System.DrawingColor
The colour to mutate - factor
- Type: SystemDouble
An adjustment factor.
Return Value
Type: ColorThe scaled colour.

The alpha channel of the colour is not mutated.
