2.5.4.13 Blend

The Blend function performs a blend of two colors.

ABNF:

 Blend = val val val " BLEND():128"

Required Arguments:

Name: Color1

Type: vColor

An argument that specifies the first color.

Name: Color2

Type: vColor

An argument that specifies the second color.

Name: Fraction

Type: vDouble

An argument that specifies the fractional amount of Color2 in the blended color.

Return Value:

Type: PtgColorRGB, PtgErr

This function returns a PtgColorRGB containing the blended color. If Fraction is less than 0 or greater than 1, the function returns a PtgErr with an error code of #VALUE!.