Search:     Advanced search

function RGB(Red, Green, Blue)

Article ID: 323
Last updated: 24 Sep, 2010
Views: 971
Posted: 30 Dec, 2008
by Thomas B.
Updated: 24 Sep, 2010
by Murray D.

 Description:

Returns a color.

Notes:

Parameters

Red (This is a integer value to represent the value for Red in the color.)

Green (This is a integer value to represent the value for Green in the color.)

Blue (This is an integer value to represent the value for Blue in the color.)

This example would change the color of the currently selected item to a lavender color.  Copy and paste the code into a new PlanSwift script.

Pascal Example:

SetItemColor(CurrentItem, RGB(230,230,250));

Visual Basic Example:

SetItemColor(CurrentItem, RGB(230,230,250));


Enterprise and Developer editions

This article was:  
Prev  Not what you're looking for? Suggest a topic  Next
Function RandomColor     Item Property Routines