Nuclide
Software Development Kit for id Tech
|
Go to the source code of this file.
Functions | |
string | Colors_RGB8_to_HEX (vector color) |
Takes a normalized color vector and returns the hexadecimal equivalent for "funstrings". More... | |
string | Colors_RGB255_to_HEX (vector color) |
Takes a 0-255 based color vector and returns the hexadecimal equivalent for "funstrings". More... | |
string Colors_RGB255_to_HEX | ( | vector | color | ) |
Takes a 0-255 based color vector and returns the hexadecimal equivalent for "funstrings".
E.g. '255 0 0' becomes "^xF00".
color | 0-255 based color value to convert. |
string Colors_RGB8_to_HEX | ( | vector | color | ) |
Takes a normalized color vector and returns the hexadecimal equivalent for "funstrings".
E.g. '1.0 0.0 0.0' becomes "^xF00".
color | Normalized color value to convert. |