npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@mfgames/nine-degrees-below

v0.0.2

Published

Various format of Elle Stone's LCh color palette.

Readme

Nine Degrees Below Palette

The Nine Degrees Below's palette in various formats.

This node package is inspired by Nine Degrees Below's LCh color palette. It repackages it in various formats to make it easier to reuse in Node-based packages. It also produces GPL palette files for use with GNU Image and Inkscape.

This defines all five saturations of the twenty-four colors.

Color Chips

There are also color wheels that mostly match the ones from Nine Degrees Below:

Color Wheel for Saturation 0.8 Color Wheel for Saturation 0.2

Conventions

In most cases, the hues are identified by h and a three digit, zero-padded number:

  • h000
  • h024
  • h038
  • h053
  • h065
  • h080
  • h090
  • h100
  • h115
  • h130
  • h145
  • h162
  • h180
  • h204
  • h218
  • h233
  • h245
  • h260
  • h270
  • h280
  • h295
  • h310
  • h325
  • h342

There are five saturations at each level.

  • s10 for 1.0 saturation
  • s08 for 0.8 saturation
  • s06 for 0.6 saturation
  • s04 for 0.4 saturation
  • s02 for 0.2 saturation

From the source file, there is a GPL file with only the 0.8 and 0.2 saturation.

The color codes are in the format of color-nine-degrees-below-h000-s08.

There are also thirteen levels of gray: g05, g10, g15, g20, g30, g40, g50, g60, g70, g80, g85, g90, g95. These go from darkest to lightest.

Locations

The cannon location for this repository is:

Mirrors are also available at:

Issues can be reported in any of the three locations (check the mirrors first).

Usage

The primary way of using this is as a Node package.

npm install --only-dev @mfgames/nine-degrees-below

Including as a style

@import "@mfgames/nine-degrees-below/styles/nine-degrees-below-oklch.css";

There are two formats for this file:

  • Using oklch():
    • @mfgames/nine-degrees-below/styles/nine-degrees-below-oklch.css
  • Using hex strings:
    • @mfgames/nine-degrees-below/styles/nine-degrees-below-hex.css

There is also a Sass variant changing .css to .scss.

Style Dictionary

With Style Dictionary, it can be used directly.

// build.ts
import StyleDictionary from "style-dictionary";
import { tokens } from "@mfgames/nine-degrees-below";

const style = new StyleDictionary({
    source: [`src/tokens/**/*.json`],
    tokens,
    platforms: {},
});

Then in your token file:

{
    "theme": {
        "$type": "color",

        "background": {
            "$type": "color",
            "$value": "{color.nine-degrees-below.g90}"
        }
    }
}

The three variable exposed by the package are:

  • tokens is the DTCG color token file
  • tokensHex is a nested JS structure of hex codes, such as color.nine-degrees-below.h000.s10
  • tokensOklch is the same as Hex but with oklch() CSS functions