Color From Hex Code (LogiX node)
Jump to navigation
Jump to search
Color From Hex Code | ||
---|---|---|
Inputs | ||
String | HexCode | |
Outputs | ||
Color | * | |
Bool | Parsed |
The Color From Hex Code node outputs a color corresponding to the input HexCode
.
Usage
Hexadecimal color codes are commonly used to specify RGB(A) colors in text format, particularly for usage on webpages and rich text.
The input HexCode
string can include, but does not require, a leading #. If there are only 3 hex values (i.e. only RGB is specified) the output alpha value is 1.
The Parsed
output indicates whether the HexCode
can be successfully parsed to a color.
The default output color is [0,0,0,0] which corresponds to completely transparent black. This is output whenever the input cannot be parsed as a valid HexCode.
Examples
Node Menu
Color | ||||||
---|---|---|---|---|---|---|
Back | Blending | Channels | Black Body Color | Color (RGBA) | Color From Hex Code | Color To Hex Code |
From HSL | From HSV | Hue | Invert | Luminance | To HSL | To HSV |