Search results

133 packages found

Finds the closest color name to a given hex, rgb and hsl color (with and without alpha). It uses the Euclidean distance formula to calculate the distance between colors in the RGB color space

published 1.4.0 6 days ago
M
Q
P

Map color names to HEX color values.

published 1.1.1 8 years ago
M
Q
P

A simple, easy to use vanilla JS color picker with alpha selection.

published 2.12.3 a month ago
M
Q
P

[![npm version](https://img.shields.io/npm/v/repo-color-utility-package.svg)](https://www.npmjs.com/package/repo-color-utility-package)

published 1.0.3 8 months ago
M
Q
P

Converts hex colors to rgb

published 1.0.5 3 months ago
M
Q
P

A utility to generate color palettes with multiple formats and modes.

published 1.0.2 8 months ago
M
Q
P

Convert RGB(A) color to HEX

published 4.1.0 8 months ago
M
Q
P

Converts hex color to rgb and calculates appropriate corresponding foreground.

published 2.2.0 9 years ago
M
Q
P

Convert hexadecimal, RGB, HSL, LCH or CMYK color to a name and a shade with i18n support.

published 3.2.0 2 years ago
M
Q
P

lightweight rgb/rgba to hex parser

published 0.2.5 3 years ago
M
Q
P

Convert 6 digits and 3 digits hex color codes to RGB values. Returns object and arrays.

published 1.1.1 6 years ago
M
Q
P

RGB to hex converter

published 1.0.0 5 years ago
M
Q
P

A JavaScript library, written in TypeScript, to convert among different color models

published 4.1.0 5 months ago
M
Q
P

convert hex string to rgb string

published 1.0.0 8 years ago
M
Q
P

Converts rgb colors to hex

published 1.0.5 3 months ago
M
Q
P

Small library for converting colors to hsl(a)

published 1.0.0 6 years ago
M
Q
P

Determines the best contrast color to use. Give it a background color and it returns a foreground color (black or white by default but customizable).

published 1.0.1 3 years ago
M
Q
P

Map color names to HEX color values with es-module and typescript

published 1.0.7 10 months ago
M
Q
P

ColorInterpreter is a module able to convert any acceptable browser color-scheme to any other acceptable browser color-scheme.

published 1.0.5 2 years ago
M
Q
P

lightweight typescript function to convert hexes of format #rrggbb to rgb(x,y,z) or rgba(x,y,z,a)

published 2.2.0 5 months ago
M
Q
P