HueSplit - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


ColorTools

  

HueSplit

  

create colors with hue halfway between two given colors

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

HueSplit(color1, color2)

Parameters

color1,color2

-

colors in formats recognized by ColorTools

Description

• 

The command HueSplit generates one or two new colors which have hue that is midway between color1 and color2.

• 

If the two input colors have the same saturation and lightness then only one color is returned.  Otherwise, a pair of colors is return each having the same saturation and lightness as one of the input colors.

• 

If either color is a shade of gray, then the empty list is returned.

• 

If the colors are antipodes on the HSV color wheel, then the midpoint is taken clockwise.

Examples

withColorTools:

HueSplitColorHSV,Red,ColorHSV,Cyan

HSV : 0.75 1 1

(1)

HueSplitColorHSV,Cyan,ColorHSV,Red

HSV : 0.25 1 1

(2)

HueSplitColorHSV,Coral,ColorHSV,Green

HSV : 0.189 0.686 1,HSV : 0.189 1 0.502

(3)

splitHueSplitColorHSV,Green,ColorHSV,Coral

splitHSV : 0.189 1 0.502,HSV : 0.189 0.686 1

(4)

HSVColorWheelGreen,split,Coral

HueSplitBlack,White

(5)

Compatibility

• 

The ColorTools[HueSplit] command was introduced in Maple 16.

• 

For more information on Maple 16 changes, see Updates in Maple 16.

See Also

ColorTools

ColorTools/ColorSpaces

ColorTools[Color]