SpecialColour
ReferencesEnumerates the special colours defined in Grasshopper. The values of this enum are identical to the ARGB integer representation of the colour which is associated with these enum values. Thus, the enum values are all very big, as they encode an alpha channel value of 2 (out of 255).
Enum values
| Name | Value | Description |
|---|---|---|
| None | 50397700 | Indicates not a special colour. You would obviously never use this as it cannot be resolved. |
| Background | 50397701 | The background colour. |
| BackgroundWeak | 50397702 | A transparent version of the Background special colour. |
| BackgroundFirm | 50397703 | An amplified version of the background colour. |
| BackgroundStark | 50397704 | An extreme version of the background colour. This is always either black or white, depending on which is closer to the background. |
| Foreground | 50397705 | A colour which contrasts with the background, though clearly of the same hue as the background. |
| ForegroundWeak | 50397706 | A transparent version of the Foreground special colour. |
| ForegroundFirm | 50397707 | A colour which strongly constrasts with the background. This always yields a colour close to either black or white. |
| ForegroundStark | 50397708 | A colour which maximally constrasts with the background. This always yields either black or white, depending only on the luminance of the background. |
| Hint | 50397709 | The colour used for information signals in Grasshopper. Usually a deep blue, but potentially user-modifiable. |
| Success | 50397710 | The colour used for success signals in Grasshopper. Usually a cool green, but potentially user-modifiable. |
| Warning | 50397711 | The colour used for warning signals in Grasshopper. Usually a strong orange, but potentially user-modifiable. |
| Error | 50397712 | The colour used for error signals in Grasshopper. Usually a strong red, but potentially user-modifiable. |
| Selected | 50397713 | The colour used to signal selected state in Grasshopper. Usually a yellow-orange, but potentially user-modifiable. |
| Unselected | 50397714 | The colour used to signal unselected state in Grasshopper. Usually a dim grey, but potentially user-modifiable. |
| Shine | 50397715 | A colour used as a shining highlight. It's a transparent white. |
| Shade | 50397716 | A colour used as a shading shadow. It's a transparent black. |
| Bland | 50397717 | A colour used to dull a colour. It's a transparent grey. |
| AnalysisShine | 50397718 | The lightest shade of the analysis palette. Use for highlights. |
| AnalysisLight | 50397719 | The second lightest shade of the analysis palette. Use for lit surfaces. |
| Analysis | 50397720 | The default shade of the analysis palette. |
| AnalysisDark | 50397721 | The darkest shade of the analysis palette. Use for shaded surfaces. |
| AnalysisEdge | 50397722 | The edge colour of the analysis palette. Used for elements which border the background. |
| InputShine | 50397723 | The lightest shade of the input palette. Use for highlights. |
| InputLight | 50397724 | The second lightest shade of the input palette. Use for lit surfaces. |
| Input | 50397725 | The default shade of the input palette. |
| InputDark | 50397726 | The darkest shade of the input palette. Use for shaded surfaces. |
| InputEdge | 50397727 | The edge colour of the input palette. Used for elements which border the background. |
| OutputShine | 50397728 | The lightest shade of the output palette. Use for highlights. |
| OutputLight | 50397729 | The second lightest shade of the output palette. Use for lit surfaces. |
| Output | 50397730 | The default shade of the output palette. |
| OutputDark | 50397731 | The darkest shade of the output palette. Use for shaded surfaces. |
| OutputEdge | 50397732 | The edge colour of the output palette. Used for elements which border the background. |
| SymbolicShine | 50397733 | The lightest shade of the symbolic palette. Use for highlights. |
| SymbolicLight | 50397734 | The second lightest shade of the symbolic palette. Use for lit surfaces. |
| Symbolic | 50397735 | The default shade of the symbolic palette. |
| SymbolicDark | 50397736 | The darkest shade of the symbolic palette. Use for shaded surfaces. |
| SymbolicEdge | 50397737 | The edge colour of the symbolic palette. Used for elements which border the background. |