Progetto H — API Reference API & Scripting Documentation
Function Shared

Color.ToHex

Gets the Hexadecimal representation of this Color

Syntax

Lua
my_color:ToHex(appends_transparency = true)

Parameters

Name Type Default Description
appends_transparency optional boolean true Appends transparency part

Returns

  • string Hexadecimal representation of this Color