Method MakeColorFromRGB
Makes Color Property Value from RGB dataUsage
Function ZAP.MakeColorFromRGB (
Integer Red,
Integer Green,
Integer Blue
)
Parameters
Red
Type: Integer
Red channel
Green
Type: Integer
Green channel
Blue
Type: Integer
Blue channel
Returns
Color value as String
Example
VBScript
Zap.MakeColorFromRGB(30, 30, 30)
JavaScript
Zap.MakeColorFromRGB(30, 30, 30);
Documentation Categories
![](https://www.zaptest.com/wp-content/uploads/2022/02/1SCRIPT_STEP.jpg)
ZAPTEST
![](https://www.zaptest.com/wp-content/uploads/2022/02/FARM.jpg)
FARM
![](https://www.zaptest.com/wp-content/uploads/2022/02/LOAD.jpg)
Comment
Get color property value and save it to colorNumber variable parameter