ClassesBlockblockly.block_class.setcolour_methodOn this pageblockly > Block > setColour Block.setColour() method Change the colour of a block. Signature: setColour(colour: number | string): void; Parameters ParameterTypeDescriptioncolournumber | stringHSV hue value (0 to 360), #RRGGBB string, or a message reference string pointing to one of those two values. Returns: void