In chroma.js, there are named color palletes or 'scales' such as Viridis, Spectral, RdYlBu (Red, Yellow, Blue), Reds, Greys, etc. I know some of these are based on Color Brewer. However, I do not see a look up table in the docs for these names with their colors. How can I know that such acronym would work such as "RdYlBu"?

  • Can you provide some links pls? It is hard to navigate between several GitHub pages to find out what you are referring to.
    – Rafael
    May 18, 2023 at 17:37
  • Hi here is the library: gka.github.io/chroma.js/#color-scales
    – Nikko
    May 18, 2023 at 17:41


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.