CreateColor

CreateColor ( double red , double green , double blue );

Description

Generates a color based on its rgb code.

Input parameters

Parameter Default value Description
red - Defines color value on red scale.
green - Defines color value on green scale.
blue - Defines color value on blue scale.

Example

plot Price = close;
Price.SetDefaultColor(CreateColor(255, 220, 210));

This example paints the Price chart in color that has the 255, 220, 210 rgb code.

Top