1.2.1 • Published 5 years ago
yandex-colors v1.2.1
yandex-color
Yandex colors in a single array, which includes: HEX encoding, English and Russian color names.
The list of color you can see here.
Install
npm install yandex-colors
Using
index.ts
import {colors} from 'yandex-colors';
console.log(colors.slice(0, 3));
terminal
$ npx ts-node index.ts
[ { hex: '000000', ru: 'Черный', en: 'Black' },
{ hex: '000080', ru: 'Темно-синий', en: 'Navy blue' },
{ hex: '0000ff', ru: 'Синий', en: 'Blue' } ]