DriveWorks Pro 15: Color [send feedback...]

Color

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

Syntax

Available for DriveWorks Projects only. See New Project Wizard for information on project types.

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.

Red, Green and Blue are values 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

Table of Contents