Skip to content

A comprehensive library of color books from various paint companies, implemented in Sass, Less, Stylus, and JSON. Bring this into your preprocessor of choice to have easy access to a huge library of colors, without any performance impact on the end-user.

gh-pages
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.

colornerd

A comprehensive library of color books implemented in Sass, LESS, Stylus, JSON, and CSV - containing 29,875 swatches from colorbooks released by Avery, Behr, Benjamin Moore, Dunn Edwards, Hallman Lindsay, HKS, PPG, RAL, Sherwin Williams, TOYO, TRUMATCH, and Vista.

preview


GitHub release npm


Install

NPM

npm install colornerd

Yarn

yarn install colornerd

Get Started

To get started, include the color books and start using colors!

// include colornerd
@include "node_modules/colornerd/scss/colornerd";

// use em!
a {
  color: hks( "36-K" );
}

The above example is for sass/scss - the function for stylus works exactly the same, but we have to use variables with less. To find out more colors to use, and copy and paste the exact code used to output colors, check out the color picker (index.html in this repository or use the web-based one for this repo).


Copyright Information

All the colorbooks and color names in this library are the property of their respective owners. This is not an official project for any book vendor, and neither they, nor the library developer are liable for how it is used. This repository is offered as-is, in order to help make these color books more accessible for a wider variety of users and projects.

About

A comprehensive library of color books from various paint companies, implemented in Sass, Less, Stylus, and JSON. Bring this into your preprocessor of choice to have easy access to a huge library of colors, without any performance impact on the end-user.

Topics

Resources

Packages

No packages published