Skip to content

Color-Description turns a technical color representation into a human readable description.

License

Notifications You must be signed in to change notification settings

words/color-description

Repository files navigation

📜 color-description

Color-Description is a class that turns a technical color representation into a human readable description.

Installation

npm install color-description

Usage

import ColorDescription from "color-description/dist/index.esm";

console.log(ColorDescription);

const cd = new ColorDescription("#ffffff");

console.log(cd.getDescriptiveList());
/**
 * pale, light, faded, delicate, glistening, bleached, neutral colorless, bright, briliant and high
 **/

cd.color = "red";

console.log(cd.getDescriptiveList());
/**
 * saturated, strong, lush, ablaze, beaming, bold, brilliant, flamboyant, vibrant, vivid, loud, very saturated, warm, mellow, red and reddish
 **/

Color Meaning & Translation

The default dataset that is written in english so the "Emotions" and "Usage" very subjective and are written from a western perspective: https://github.com/words/color-description/blob/21ffa6b522f1751b471907aac4173acdc5c92fae/src/en.js

Data Sources

Color Psychology

Named Primary, Secondary and Tertiary Colors

Color Adjectives

Descriptions

About

Color-Description turns a technical color representation into a human readable description.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •