Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
rgb
converts all sorts of colors to rgb format.
rgb-hex
Convert RGB(A) color to HEX
rgb2hex
lightweight rgb/rgba to hex parser
@csstools/convert-colors
Convert colors between RGB, HEX, HSL, HWB, LAB, LCH, and more
colors-named-hex
A array with color name -> Hex rgb.
hex-to-rgba
Converts hexadecimal color codes to rgb()/rgba() values.
validate-color
Validate HTML colors by 'name', 'special name', 'hex', 'rgb', 'rgba', 'hsl', 'hsla', 'hwb', 'lab' or 'lch' values
hex-rgb
Convert HEX color to RGBA
color-2-name
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
color-conversion-rgb
Color conversion for HEX to RGBA, HSL to RGBA, RGB to RGBA.
postcss-rgba-hex
PostCSS plugin that replaces RGB(a) values with hexadecimal analogues
colorsys
Bidirectional conversions between different colors format like RGB, HSL, HSV and HEX
css-filter-converter
A tool used to generate css filter color property via hexadecimal or rgb color formats
hex2rgb
Converts hex color to rgb and calculates appropriate corresponding foreground.
@zero-deps/hex-2-rgb
lightweight typescript function to convert hexes of format #rrggbb to rgb(x,y,z) or rgba(x,y,z,a)
color-conversion-tools
This NPM package provides a JavaScript library of functions for converting between different color formats. With this package, you can convert RGB to Hex, Hex to RGB, RGB to HSL, HSL to RGB, RGB to CMYK, CMYK to RGB, and many other color formats. | utilit
@kurkle/color
css color parsing, manupulation and conversion
hex-color-converter
Lightweight module for converting RGB(A) values to hexadecimal colors
hex-to-rgb-string
convert hex string to rgb string
@palett/convert
A color converter among RGB, HEX and HSL.