# VTK Examples - Some ColorMap to LookupTable tools

**URL:** https://discourse.vtk.org/t/vtk-examples-some-colormap-to-lookuptable-tools/12237
**Category:** Announcements
**Created:** [September 4, 2023, 1:17am UTC](https://discourse.vtk.org/t/vtk-examples-some-colormap-to-lookuptable-tools/12237 "2023-09-04T01:17:28Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![amaclean](https://discourse.vtk.org/user_avatar/discourse.vtk.org/amaclean/32/224_2.png) [@amaclean](https://discourse.vtk.org/u/amaclean)
#### Post date: [November 30, 2023, 4:08am UTC](https://discourse.vtk.org/t/vtk-examples-some-colormap-to-lookuptable-tools/12237/3 "2023-11-30T04:08:05Z")

</div>

I have updated [ColorMapToLUT\_JSON](https://examples.vtk.org/site/Python/Utilities/ColorMapToLUT_JSON/) to support choosing a colormap by name e.g. from [ParaView Default Colormaps](https://gitlab.kitware.com/paraview/paraview/-/blob/master/Remoting/Views/ColorMaps.json). In this case you can look at the colormaps in ParaView and select the the one you want from the from the ParaView JSON file.

Two new programs have been added:

- [RescaleReverseLUT.py](https://examples.vtk.org/site/Python/Utilities/RescaleReverseLUT/)
- [RescaleReverseLUT.cpp](https://examples.vtk.org/site/Cxx/Utilities/RescaleReverseLUT/)

These allow you to adjust a colormap so that the colormap scalar range matches the scalar range of the object by rescaling the control points and, optionally, reversing the order of the colors.

---

_[View the full topic](https://discourse.vtk.org/t/vtk-examples-some-colormap-to-lookuptable-tools/12237)._
