Color.toHtml

Returns html representation of color in format #RRGGBB If p_alpha is true returns color in format #RRGGBBAA

struct Color
const
string
toHtml
(
bool p_alpha = false
)

Parameters

p_alpha bool

Include alpha?

Return Value

Type: string

Html string

Meta