Try it in your browserpreview Source

Color3 from HexRoblox@lune/roblox✎

With or without the leading #. Three-digit shorthand works too.

Pending review

Color3 from Hex#ffffffHex
  • 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

  • Hex:string= "#ffffff"

Outputs

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

What it compiles to

luau
print(Color3.fromHex("#ffffff"))

Not reviewed yet