颜色渐变部件

Color Ramps specify a color gradient based on color stops. Each stop has a position and a color. The gradient is then calculated as the interpolation between these stops using the chosen interpolation method.

../../../_images/interface_controls_templates_color-ramp_ui.png

颜色渐变。

控制器

添加 +

Adds a new stop between the selected stop and the one before it.

删除 -

Deletes the selected color stop.

专项菜单 v

包含更多颜色渐变的操作。

  • 反转渐变色

    Flips the gradient, mirroring the positions of the stops.

    从左侧分布断点

    从左至右均匀分布每一个断点,当与插入常值一起使用时,这非常有用。

    均匀分布断点

    Distribute the stops so that all neighbors have the same space between them.

    吸管工具(吸管图标) E

    使用 吸管 从界面中采样颜色或渐变色。

    重置颜色渐变

    恢复颜色渐变至初始状态。

颜色模式

Selection of the Color Model used for interpolation.

  • RGB

    混合各个颜色通道,并合成颜色。

    HSV/HSL

    Blends colors by first converting to HSV or HSL, mixing, then combining again. This has the advantage of maintaining saturation between different hues, where RGB would de-saturate. This allows for a richer gradient.

Color Interpolation

The interpolation method to use across the ramp.

  • RGB

    • B-样条

      Uses a B-spline interpolation for the color stops.

      原始

      Uses a cardinal interpolation for the color stops.

      线性

      Uses a linear interpolation for the color stops.

      移动

      Uses an ease interpolation for the color stops.

      常量

      Uses a constant interpolation for the color stops.

    HSV/HSL

    • 顺时针

      沿HSV/HSL 色轮顺时针插值。

      逆时针

      沿HSV/HSL 色轮顺时针插值。

      相近

      色轮上最近的路径。

      色轮上最远的路径。

    ../../../_images/interface_controls_templates_color-ramp_interpolation.png

    HSV 与 HSL插值选项。

活动颜色断点

Index of the active color stop (shown as a dashed line). Offers an alternative way of selecting a stop in case it’s so close to others that it’s hard to select it directly.

位置

This slider controls the position of the selected color stop in the range.

颜色

A color field where you can specify the color and alpha of the selected stop.

快捷键

  • LMB (drag) moves color stops.

  • Ctrl-LMB (click) adds a new color stop.