25 return sprintf(
"^x%x%x%x", color[0] * 15, color[1] * 15, color[2] * 15);
string Colors_RGB8_to_HEX(vector color)
Takes a normalized color vector and returns the hexadecimal equivalent for "funstrings".
Definition: colors.h:23
string Colors_RGB255_to_HEX(vector color)
Takes a 0-255 based color vector and returns the hexadecimal equivalent for "funstrings".
Definition: colors.h:34