Skip to content

boneskull/lego-color-swatches

Repository files navigation

lego-color-swatches

All LEGO colors in various formats

Formats

  • .ase - Adobe Swatch Exchange
  • .clr - Apple Color List
  • .csv - Comma-Separated Values
  • .json - JavaScript Object Notation

Subsets

  • All LEGO colors, past & present
  • TODO: Transparent, historical, and present color sets

JavaScript / Node.js Usage

You can install this module via npm:

$ npm i lego-color-swatches

Then:

const {colors} = require('lego-color-swatches');

colors.forEach(color => {
  console.log(color.name);
});

Attribution

License

Licensed CC0-1.0.

CC0

To the extent possible under law, Christopher Hiller has waived all copyright and related or neighboring rights to lego-color-swatches. This work is published from: United States.