Color Comparison

Compares two RGB colors and jumps to the specified Step ID based upon the results. “Same” if all three colors com- ponents (RGB) of a specified object’s color match within their respective deviations ranges, “Different” 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

5

Step ID

Step if Same

The step to jump to if all 3 colors match with the specified range.

6

Step ID

Step if Different

The step to jump to if the colors do not match.

 

Return Arguments

None.

 

Returned Status

 

SUCCESS

This command always succeeds.

Remarks

None.