Color3 from HexRoblox@lune/roblox✎
With or without the leading #. Three-digit shorthand works too.
Pending review
- Roblox's, and Lune's too — a Lune graph needs
@lune/robloxrequired 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:Color3splittableSplits into R, G, B.
What it compiles to
luau
print(Color3.fromHex("#ffffff"))
Not reviewed yet