# ForColormap 1.0.0 released 🌈

**URL:** <https://fortran-lang.discourse.group/t/forcolormap-1-0-0-released/10807>\
**Category:** Announcements\
**Created:** [March 23, 2026, 2:10pm UTC](https://fortran-lang.discourse.group/t/forcolormap-1-0-0-released/10807 "2026-03-23T14:10:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vmagnin](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/vmagnin/32/28_2.png) [@vmagnin](https://fortran-lang.discourse.group/u/vmagnin)\
**Post date:** [March 23, 2026, 2:10pm UTC](https://fortran-lang.discourse.group/t/forcolormap-1-0-0-released/10807/1 "2026-03-23T14:10:11Z")

</div>

We have just released 🌈[ForColormap 1.0.0](https://github.com/vmagnin/forcolormap/releases/tag/v1.0), two years after the [previous](https://fortran-lang.discourse.group/t/forcolormap-a-fortran-library-for-colormaps/6678/27) 0.9 release. More than 140 commits were made.

@Ali mainly worked on refactoring the code, fixing bugs, improving performances, improving the CI (fpm, CMake, FORD and Fortitude) and adding new features. The tests were expanded and refactored by using generative AI, an interesting experience.

Concerning refactoring, files and modules were renamed according to fpm recommendations (a `fpm clean` or `make clean` is therefore recommended if you update your ForColormap). Another important change is the new `colormap_metadata` type for storing the properties of each available colormap.

Among the new features, we can cite:

- a `colorbar_ansi()` method to preview the colormap in a truecolor ANSI terminal.

- A `blend()` method to blend two colormaps according to `blend = (1-alpha)*self + alpha*other`.

- A method `export_paraview_preset()` to export a colormap as a Paraview preset file (`.json`).

- A `find_index()` method to retrieve a colormap index by its name.

- `get_` functions for getting colormap metadata.

On my side, I mainly worked on improving the FORD documentation and completely restructured it following the [Diátaxis](https://diataxis.fr) framework organized in four quadrants: Tutorials, How-to, Explanation, Reference. Just click on [https://vmagnin.github.io/forcolormap/](https://vmagnin.github.io/forcolormap/) and go on the _Handbook_ tab (thanks @fxm).

We now plan to submit a [JOSS](https://joss.theoj.org/) paper and the feedback of the community is therefore precious. You can test ForColormap by simply cloning it and building/launching the examples available in the `example` directory, like `demo.f90`:

```bash
$ git clone git@github.com:vmagnin/forcolormap.git
$ cd forcolormap
$ fpm run --example demo

```

(fpm will automatically download its [ForImage](https://github.com/gha3mi/forimage) dependency)

P.s. Thanks to @jchristopherson for testing, and reviewing the CMake files.

 ![lipari-MMI-optical-splitter-BPM3D-TE_mode](https://global.discourse-cdn.com/free1/uploads/fortran_lang/original/2X/a/a2fb3f2941042854b6a5cdf7e80a5d18b72f6259.png)

---

<div class="post-metadata">

**Author:** ![fxm](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/fxm/32/5726_2.png) [@fxm](https://fortran-lang.discourse.group/u/fxm)\
**Post date:** [March 23, 2026, 2:37pm UTC](https://fortran-lang.discourse.group/t/forcolormap-1-0-0-released/10807/2 "2026-03-23T14:37:35Z")

</div>

This is great work, @vmagnin and @Ali. Thanks for sharing this and good luck with the JOSS submission. I’ve been meaning to return to the [GMT](https://www.generic-mapping-tools.org/)-based plotting library I had started a while back. GMT uses simple tables with z-bound rgb values. I’ll explore generating these dynamically using `compute_RGB`.
