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
Map color names to HEX color values.
A simple, easy to use vanilla JS color picker with alpha selection.
[![npm version](https://img.shields.io/npm/v/repo-color-utility-package.svg)](https://www.npmjs.com/package/repo-color-utility-package)
- hex
- rgb
- color
- utility
- javascript
- web
- web-design
- design
- frontend
- development
- graphics
- manipulation
- conversion
- library
- View more
Converts hex colors to rgb
A utility to generate color palettes with multiple formats and modes.
Convert RGB(A) color to HEX
Converts hex color to rgb and calculates appropriate corresponding foreground.
Convert hexadecimal, RGB, HSL, LCH or CMYK color to a name and a shade with i18n support.
lightweight rgb/rgba to hex parser
Convert 6 digits and 3 digits hex color codes to RGB values. Returns object and arrays.
- rgb
- rgba
- hextorgb
- hex-rgb-conv
- hex
- short
- shorthand
- 3digits
- shortcut
- convert
- conversion
- converter
- color
- html
- View more
A JavaScript library, written in TypeScript, to convert among different color models
- color
- color-converter
- color-translator
- color-manipulation
- css-color
- css-color-convert
- rgb
- rgba
- hex
- hexadecimal
- hsl
- hsla
- cmyk
- typescript
Converts rgb colors to hex
Small library for converting colors to hsl(a)
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).
- accessibility
- background
- black
- bright
- brighten
- brightness
- chroma
- color
- colors
- contrast
- convert
- css
- dark
- darken
- View more
Map color names to HEX color values with es-module and typescript
ColorInterpreter is a module able to convert any acceptable browser color-scheme to any other acceptable browser color-scheme.
lightweight typescript function to convert hexes of format #rrggbb to rgb(x,y,z) or rgba(x,y,z,a)