Color Comparison (result)

Compares two RGB colors. “Same” or True if all three colors components (RGB) of a specified object’s color match within their respective deviations ranges, “Different” or False if any one or more colors exceeds the allowable range.

 

Input Arguments

 

0

Color

Color A

The source color.

1

Color

Color B

The comparison color.

2

Integer

Allowable Deviation (Red)

The allowable integer deviation as a +/- value

3

Integer

Allowable Deviation (Green)

The allowable integer deviation as a +/- value

4

Integer

Allowable Deviation (Blue)

The allowable integer deviation as a +/- value

 

Return Arguments

 

5

Boolean

Resultant Value

True indicates that the colors match within the allowable range.

 

Returned Status

 

SUCCESS

This command always succeeds.

Remarks

None.