Overview
This example shows how to create a basic RGB gradient using the RGBirdflop SDK. Gradients transition smoothly between multiple colors across your text.Basic Two-Color Gradient
The simplest gradient uses two colors:Multi-Color Gradient
Add more colors for complex gradients:Color Position Control
Control where each color appears in the gradient using thepos property (0-100):
The
pos property determines where each color appears in the gradient:0= start of text50= middle of text100= end of text
Color Length Per Character
Control how many characters share the same color:Output Formats
The default format is&#RRGGBB (Minecraft color codes). See other examples for different output formats:
MiniMessage
Modern MiniMessage format output
JSON
Minecraft JSON text component format