Panel:InsertColorChange
Example
Creates a RichText panel with color coding on certain segments of text.
Output: ![](//files.facepunch.com/wiki/files/RichText_InsertColorChange_example1.png)
![](http://files.facepunch.com/wiki/files/RichText_InsertColorChange_example1.png)
Example
Word by word coloring using string.Explode and random colors.
Output: ![](//files.facepunch.com/wiki/files/RichText_InsertColorChange_example2.png)
![](http://files.facepunch.com/wiki/files/RichText_InsertColorChange_example2.png)
Inserts a color change in a RichText element, which affects the color of all text added with Panel:AppendText until another color change is applied.
Creates a RichText panel with color coding on certain segments of text.
Word by word coloring using string.Explode and random colors.