ManiaScript  2019-10-10
The script language used in ManiaPlanet gaming system
Functions
ColorLib Namespace Reference

Functions

Vec3 HsvToRgb (Vec3 __Hsv)
 
Vec3 RgbToHsv (Vec3 __Rgb)
 
Text RgbToHex (Vec3 __Rgb)
 
Vec3 HexToRgb (Text _Text)
 Returns the RGB color corresponding to _Text. More...
 

Function Documentation

◆ HexToRgb()

Vec3 ColorLib::HexToRgb ( Text  _Text)

Returns the RGB color corresponding to _Text.

Returns an empty Vec3 if an invalid Text is given

Parameters
_Text: The text you want to convert into a RGB color

◆ HsvToRgb()

Vec3 ColorLib::HsvToRgb ( Vec3  __Hsv)

◆ RgbToHex()

Text ColorLib::RgbToHex ( Vec3  __Rgb)

◆ RgbToHsv()

Vec3 ColorLib::RgbToHsv ( Vec3  __Rgb)