1.0.5 • Published 3 months ago

coloreme v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

coloreme NPM version

Suite of color combinations for using in your projects

Install

npm install coloreme

or

yarn add coloreme

Usage

import { coloreme, coloremeList, colors } from 'coloreme';

console.log(coloreme.LightBlueCobalt);
/*
{
  name: 'LightBlueCobalt',
  color: '#CADCFC',
  bgColor: '#00246B',
  c: '#CADCFC',
  b: '#00246B',
  inverse: { color: '#00246B', bgColor: '#CADCFC', c: '#00246B', b: '#CADCFC' }
}
*/
/* Same as above */
console.log(colors.obj.BluePastelPink);

/* Get some pair by index from list */
console.log(coloremeList[11]);
/*
{
  name: 'BlondeYellowCandyPink',
  color: '#F9EC7E',
  bgColor: '#E26274',
  c: '#F9EC7E',
  b: '#E26274',
  inverse: { color: '#E26274', bgColor: '#F9EC7E', c: '#E26274', b: '#F9EC7E' }
}
*/
/* Previous analogue */
console.log(colors.list[11]);

console.log(colors.random()); // get random color pair

Screenshots

Screenshot

Screenshot2

License

MIT © Rushan Alyautdinov

1.0.5

3 months ago

1.0.4

3 months ago

1.0.3

3 months ago

1.0.2

3 months ago

1.0.1

3 months ago

1.0.0

3 months ago