In Nushell you can use the ansi gradient command to display text with a color gradient.
You need to write a pipeline where the text that you want to be in a gradient first and then after the pipe (|) symbol use the ansi gradient command.
The command accepts several flags to define for example the start and end colors of the gradients for the foreground and background.
The value of the color is a hexadecimal value.
Nushell also supports named themes with predefined gradients that can be used as foreground and/or background of the text.
All these flags can also be combined together to have a colorful output.