node-red-contrib-vibrant 1.0.4

A node for Node-RED that extract prominent colors from an image.

npm install node-red-contrib-vibrant

NPM

Node-RED vibrant node

A node for Node-RED that extract color palette, i.e. prominent colors from an image.

Screenshot from Node-RED

Usage

Simply drag node vibrant from dashboard palette to your flow. Node expects local path or remote URL of an image from which you want to extract prominent colors. Node perform several validation and then sends payload with raw output from node-vibrant library. In output you can find several swatches (Vibrant, Muted, DarkVibrant, DarkMuted, LightVibrant and LightMuted), each one with fields r, g, b, rgb, hex, hsl, population, titleTextColor, bodyTextColor.

Build

If you want to modify and build changes, then you must recompile from TypeScript sources with command:

$ npm run build

Pull requests are welcome!

Thanks to

Authors of used libraries, especially author of node-vibrant.

Author

Lukas Novak

Author

Freelance full-stack software developer based in Olomouc, Czech Republic. I focus on mobile apps with Kotlin and application servers in Node.js. As a hobby, I experiment with voice assistants and build my smart home. See my personal web page (in Czech) or blog on Medium

Node Info

Version: 1.0.4
Updated 5 years, 6 months ago
License: MIT
Rating: 5.0 1

Categories

Actions

Rate:

Downloads

70 in the last week

Nodes

  • vibrant

Keywords

  • node-red
  • nodered
  • vibrant
  • muted
  • color
  • palette
  • extract color
  • prominent color

Maintainers