Forum

Custom color palette

Hi All


I am working with spectrograms and I’s like to make a custom color palette. Is there an easy way to define my own color palette?

Sune

yes, with a 1d dynamic texture… there might even be a texturefx doing that.

If VL.OpenCV is up your alley there is the ApplyColorMap (with preset palettes):

ColorMap

2 Likes

Also in VL.OpenCV world, if you want to specify your custom palette you can use LUT:

image

3 Likes

Thanks, great solutions!

may be related, in case you want to stick to beta …
https://discourse.vvvv.org/t/what-is-the-best-way-to-simulate-a-64color-display/

this one just replaces with the closest color it can find in the input buffer, but you can start from there if you need more control.