Skip to content

Replacements for @img/colour ​

color ​

@img/colour is not a fork or alternative. It is an esbuild bundle of color (and its dependencies color-convert and color-string) regenerated for CommonJS. Depending on color directly gives you the same API and dedupes with the many packages already using color, color-convert and color-string.

Example:

ts
import Color from '@img/colour'
import Color from 'color'

const red = Color('red').hex()

Released under the MIT License. (13757e3d)