Hue
Usage
• Hue[h] 是一个指定紧接的图形对象的图形指令,如果可能的话,以对应于灰度h的颜色显示该对象。
• Hue[h, s, b]根据灰度,饱和度和亮度指定颜色。
Notes
• 参数h, s 和 b必须都在0 和 1之间。 超过这个范围的s 和 b的值舍弃。超过这个范围的h 的值被循环使用。 • 当h从 0 到 1变化,相应于Hue[h]的颜色是红,黄,绿,蓝绿,蓝,洋红,最后又回到红。 • Hue[h]等于Hue[h, 1, 1].
• 在单色显示下,一个基于亮度值的灰度层被使用。 • 图形长廊的结尾显示了用各种Hue规格产生的颜色例子。
Further Examples
Here are three polygons colored by different hues. Evaluate the cell to see the graphic.
In[1]:=
|
This varies the hue over successive sectors of a disk. Evaluate the cell to see the graphic.
In[2]:=
|
In[3]:=
|
|