canaryThese pages document the canary: an unreleased build. What they describe may not be in the version you have, and may change before it is.The stable build
Try it in your browsercanary Source

Color3 LerpRoblox@lune/roblox✎

Blends in RGB, which is what the engine does. Fading through HSV instead means converting, lerping the hue, and converting back.

Pending review

Color3 LerpColor3.new(1, 1, 1)AColor3.new(1, 1, 1)B0.5Alpha
  • Roblox's, and Lune's too — a Lune graph needs @lune/roblox required for it
  • pure — no execution pins, wire it anywhere
  • names its result — Result name in the Inspector is the local it binds, and a Declare Local reading that result makes a second one: see Variables and locals

Inputs

  • A:Color3= Color3.new(1, 1, 1)splittable
    Splits into R, G, B.
  • B:Color3= Color3.new(1, 1, 1)splittable
    Splits into R, G, B.
  • Alpha:number= 0.5

Outputs

  • result:Color3splittable
    Splits into R, G, B.

What it compiles to

luau
print(Color3.new(1, 1, 1):Lerp(Color3.new(1, 1, 1), 0.5))

Not reviewed yet