How to use the colornames.all function in colornames

To help you get started, we’ve selected a few colornames examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ibmtjbot / tjbotlib / lib / tjbot.js View on Github external
TJBot.prototype.shineColors = function() {
    this._assertCapability('shine');

    return colorToHex.all().map(function(elt, i, array) {
        return elt['name'];
    });
};

colornames

Map color names to HEX color values.

MIT
Latest version published 9 years ago

Package Health Score

50 / 100
Full package analysis

Popular colornames functions