Share

Conversion expressions

The following tables provide a list of expressions used as converters.

HSB TO RGBDescription
ConvertsHSB to RGB mode.
SyntaxHSB2RGB
NUMBER TO COLOR ALPHADescription
ConvertsFour numbers into a color vector.
Syntaxnumber2coloralpha
NUMBER TO VECTORDescription
ConvertsA number to a vector.
Syntaxnum2vec
RGB TO RGBADescription
ConvertsRGB to RGBA mode.
SyntaxRGB2RGBA
RGB TO HSBDescription
ConvertsRGB to HSB mode.
SyntaxRGB2HSB
RGBA TO RGBDescription
ConvertsRGBA mode to RGB.
SyntaxRGBA2RGB
SECONDS TO TIMEDescription
ConvertsA number of seconds to a time format.
Syntaxseconds2time
TIME TO SECONDSDescription
ConvertsA time format to a number of seconds. Use the time2seconds expression to convert time to a number of seconds in an Expressions constraint.
Syntaxtime2seconds

Was this information helpful?