ColorTools - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : Packages : ColorTools : ColorTools/HueSplit

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

split:=HSV : 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]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam