Marblecore Imaging Library Documentation

Documentation Introduction
Documentation / Marblecore Imaging / Methods / GetColorFromRGB

GetColorFromRGB method

Returns the RGB color identifier based on the red, green and blue component.

Syntax

Number GetColorFromRGB(nR As Number, nG As Number, nB As Number)

Return value

Returns the RGB color value.

Parameters

ParameterTypeRequiredDescription
nRNumberYesParameter specifying the red color component.
nGNumberYesParameter specifying the green color component.
nBNumberYesParameter specifying the blue color component.

Category

Color conversion

See also

GetColorFromCMYK | GetColorFromHTML