Home Search

DriveWorks Pro 21
Color

Send Feedback

Color

Returns a pipe separated RGB color format string, using specified red, green and blue values

Syntax

Color( [Red], [Green], [Blue] )

This function takes three values and converts them to a color value which can be used, for example, with the DWColor custom property to drive a part color.

Where:

Red is a value from 0 to 255 (inclusive).

Green is a value from 0 to 255 (inclusive).

Blue is a value from 0 to 255 (inclusive).

Examples

Rule

Meaning
Color(123, 51, 204)Returns: 123|51|204

Example Outcomes

RedGreenBlueOutcome
12351204123|51|204
594051255|0|51