ColorTools
HueSplit
create colors with hue halfway between two given colors
Calling Sequence
Parameters
Description
Examples
Compatibility
HueSplit(color1, color2)
color1,color2
-
colors in formats recognized by ColorTools
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.
with⁡ColorTools:
HueSplit⁡Color⁡HSV,Red,Color⁡HSV,Cyan
〈HSV : 0.75 1 1〉
HueSplit⁡Color⁡HSV,Cyan,Color⁡HSV,Red
〈HSV : 0.25 1 1〉
HueSplit⁡Color⁡HSV,Coral,Color⁡HSV,Green
〈HSV : 0.189 0.686 1〉,〈HSV : 0.189 1 0.502〉
split≔HueSplit⁡Color⁡HSV,Green,Color⁡HSV,Coral
split≔〈HSV : 0.189 1 0.502〉,〈HSV : 0.189 0.686 1〉
HSVColorWheel⁡Green,split,Coral
HueSplit⁡Black,White
The ColorTools[HueSplit] command was introduced in Maple 16.
For more information on Maple 16 changes, see Updates in Maple 16.
See Also
ColorTools/ColorSpaces
ColorTools[Color]
Download Help Document