If Set Colour
If set-colour is used to set the colour of a text component.
Constructors
A secondary constructor to build a colour from Color. This can be useful to avoid manual colour conversions, as 8-bit colours are typically used. This function will strip away the 3 least significant bits from the colours, as Jagex's colour format only expects 5 bits per colour, so small changes in tone may occur.
A secondary constructor to build a colour from Color. This can be useful to avoid manual colour conversions, as 8-bit colours are typically used. This function will strip away the 3 least significant bits from the colours, as Jagex's colour format only expects 5 bits per colour, so small changes in tone may occur.
Properties
the bitpacked combination of interfaceId and componentId.
the id of the component on which the text resides
the id of the interface on which the text resides