blockly > BlockSvg > setColour
BlockSvg.setColour() method
Change the colour of a block.
Signature:
setColour(colour: number | string): void;
Parameters
Parameter | Type | Description |
---|---|---|
colour | number | string | HSV hue value, or #RRGGBB string. |
Returns:
void