Resource icon

Text colour gradient 2021-05-27

Denizen Version
1740-rel
This script takes 2 rgb values and text and returns the text with colour codes that apply the relevant colour to each letter. This is similar to the hex_rainbow tag but instead of looping through all the colours it goes from the start colour to the end colour.
this could be useful for things like animated text in your sidebar/bossbar etc.
an example of how to use this is given below:
- define text_input "my cool new title"
- define input_values <list.include[100,0,150].include[250,250,250].include[<[text_input]>]>
- narrate <proc[gradient].context[<[input_values]>]>
this makes the text fade from purple to white
Author
Cloudshadow
Downloads
799
Views
977
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Cloudshadow

Share this resource