ProtoFlux:ColorFromHexCode

From Resonite Wiki
Revision as of 23:47, 20 August 2025 by YoshBot (talk | contribs) (YoshBot moved page ProtoFlux:Color From Hex Code to ProtoFlux:ColorFromHexCode: Automated: removing spaces from ProtoFlux namespace)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Color From Hex Code
HexCode
Color
Parsed
Colors

Color From Hex Code is a ProtoFlux node that parses a hex color code such as "FFAEBB" into a Color.

Inputs

HexCode (String)

The hex code to turn into a color. Turns this hex code into a color. The code must be a "#" followed by 3, 4, 6 or 8 hexadecimal digits. The 4 and 8 digit forms specify an alpha component, if not given the alpha component is taken to be 1.

Outputs

Color (Color)

A color made from the provided hex code. This value is not defined and may have nonsense values if parsing failed (Parsed = false).

Parsed (bool)

True if parsing succeeded.

See Also

Gallery