Documentation

Text::FormatOpenplanetColor

Function

string Text::FormatOpenplanetColor(const vec3&in rgb)

Formats a color in Openplanet-style UI color formatting, for example: "\$f00"

vec3 rgb

Returns string