@skchr/color
    Preparing search index...

    Function sequential

    • A wrapper function for ColorBrewer's map of sequential color schemes.

      Type Parameters

      Parameters

      Returns Scheme[]

      • A collection of colors in the specified colorspace. The default is hex if colorspace is undefined.
      import { sequential } from '@skchr/color'


      console.log(sequential("OrRd"))

      // [
      '#fff7ec', '#fee8c8',
      '#fdd49e', '#fdbb84',
      '#fc8d59', '#ef6548',
      '#d7301f', '#b30000',
      '#7f0000'
      ]