Home > decentraland-ecs > Color4 > FromHexString
Creates a new Color4 from the string containing valid hexadecimal values
Signature:
static FromHexString(hex: string): Color4;
Returns: Color4
a new Color4 object
Parameter | Type | Description |
---|---|---|
hex |
string |
defines a string containing valid hexadecimal values |