⚠️ This site is under development, some artefacts may be missing or incomplete.
PIXEL UI
GetRainbowColor

GetRainbowColor

Color PIXEL.GetRainbowColor()

Description

ℹ️

This method returns a new color instance every frame instead of modifying the values, if you wish to use the cycle effect you must call this before every draw.

Provides a colour which cycles through the rainbow.

Returns

Color

A color with the current values of the cycle effect.