Enum ColorGradientColorSpace
Defines the color space used for interpolation in a ColorGradient when the mode is Smooth.
Namespace: Scylla.Core.Util.Palette
Assembly: ScyllaCore.dll
Syntax
public enum ColorGradientColorSpace
Remarks
RGB is the fastest option with no conversion overhead. HSV produces more vibrant hue transitions (e.g., red-to-green goes through yellow instead of brown). Oklab provides perceptually uniform blending with no unexpected brightness dips.
Alpha is always interpolated linearly regardless of color space setting.
Fields
| Name | Description |
|---|---|
| HSV | HSV interpolation using shortest hue path. Produces vibrant transitions between different hues at the cost of RGB-to-HSV conversion per evaluation. |
| Oklab | Perceptually uniform Oklab interpolation. Produces the most visually consistent blending with no brightness dips. Highest conversion overhead. |
| RGB | Linear RGB interpolation via |