blockly > blockRendering > ConstantProvider > generateSecondaryColour_
blockRendering.ConstantProvider.generateSecondaryColour_() method
Generate a secondary colour from the passed in primary colour.
Signature:
protected generateSecondaryColour_(inputColour: string): string;
Parameters
Parameter | Type | Description |
---|---|---|
inputColour | string | Primary colour. |
Returns:
string
The generated secondary colour.