@buxlabs/colors

Color namer

Usage no npm install needed!

<script type="module">
  import buxlabsColors from 'https://cdn.skypack.dev/@buxlabs/colors';
</script>

README

Colors

Colors is a package for use in Node.js or the browser that can convert colors to names.

Installation

npm install @buxlabs/colors

Usage

import colors from '@buxlabs/colors'

colors.name('#f00')

API

name

The method uses the color-namer package that can be found here https://www.npmjs.com/package/color-namer

TODO

  • add contrast color checker