GradientMap
Maps source luminance through an animated color gradient (Photoshop-style gradient map)
Props
Prop
Details
palette"rainbow" | "sunset" | "ocean" | "fire" | "pastel" | "neon" | "custom"Default:
rainbowBuilt-in cosine palette, or Custom Colors to pick your own stops
palette"rainbow" | "sunset" | "ocean" | "fire" | "pastel" | "neon" | "custom"Default: rainbowBuilt-in cosine palette, or Custom Colors to pick your own stops
colorLowstringDefault:
#1a0b2eColor for the darkest tones
colorLowstringDefault: #1a0b2eColor for the darkest tones
colorMidstringDefault:
#e94560Color for the midtones
colorMidstringDefault: #e94560Color for the midtones
colorHighstringDefault:
#f9ed69Color for the brightest tones
colorHighstringDefault: #f9ed69Color for the brightest tones
speednumberDefault:
0.15Gradient animation speed (0 = static). The gradient cycles seamlessly.
speednumberDefault: 0.15Gradient animation speed (0 = static). The gradient cycles seamlessly.
contrastnumberDefault:
1Steepness of the luminance-to-gradient mapping
contrastnumberDefault: 1Steepness of the luminance-to-gradient mapping
blackPointnumberDefault:
0Input shadow clip — luminance at/below this maps to the start of the gradient
blackPointnumberDefault: 0Input shadow clip — luminance at/below this maps to the start of the gradient
whitePointnumberDefault:
1Input highlight clip — luminance at/above this maps to the end of the gradient
whitePointnumberDefault: 1Input highlight clip — luminance at/above this maps to the end of the gradient
strengthnumberDefault:
1Blend between the original image (0) and the gradient-mapped result (1)
strengthnumberDefault: 1Blend between the original image (0) and the gradient-mapped result (1)
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default:
oklchColor space for interpolating custom colors
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default: oklchColor space for interpolating custom colors