VictorGrycuk / streamdeck-color-picker

A StreamDeck plugin that shows information about a pixel colour
GNU General Public License v3.0
13 stars 3 forks source link
colorblind csharp elgato streamdeck

Color Picker for StreamDeck

Description

As a color-blind person sometimes I struggle to recognize certain colors, so I thought it would be nice to have the functionality of WhatColor in StreamDeck. And while I was there, I decided to add the options to show their RGB or hexadecimal value.

When pressed, it will get the color information (name, RGB, or hexadecimal) of the pixel where the mouse is and show it on the StreamDeck key. Optionally, the the value can be copied to the clipboard

color-picker.

It was done using BarRaider's Stream Deck Tools.

For Mac users, the user mbelltbg created a script with a similar functionality. It can be found at mac-streamdeck-color-picker.

Features

Color Picker

Color Palette 🆕

Color Values

Color Names

color-picker.

This value option will show the name of the color on the key's screen.

The plugin breaks multi words names into new lines, so its best not to use with more than 3 words on it or it wont fit the key's screen It also resizes the font based on the longest word. Cornflower can be read, but anything longer and it might be too small to be read.

The colors name definition is stored in a file named Colors.definition.json, based on WhatColor's recommended setting, found in a folder named ColorsDefinitions at the root folder of the plugin. At the moment, the plugin only loads this file, if you wish to change the definition file, you can either modify this file or replace it.

When the copy to clipboard option is selected, the name of the color will be copied (including new lines).

Color RGB Value

color-picker

When this value option is selected, it will show the RGB values of the pixel.

When the copy to clipboard option is selected, only the numeric values delimited by a comma will be copied.

Color Hexadecimal Value

color-picker

When this value option is selected, it will show the hexadecimal value of the pixel.

When the copy to clipboard option is selected, the hexadecimal value without the number sign will be copied to the clipboard.

Behaviours

On Key Press

It will update the color value of the pixel where the mouse is at whenever the key is pressed.

It will also copy the value of the color if the option it is activated.

Dynamic

The key screen will be automatically updated at a refresh rate of 10ms.

When the key is pressed, and if the option is selected, the value will be copied to the clipboard.

Fixed

Similar to Dynamic, except it wont follow the mouse location.

Instead, when the key is pressed the location of the mouse is updated and will stay ready the color of the pixel at that location.

If the copy to clipboard option is activated, it will update the copied value at the same speed of the refresh rate.

My others Stream Deck plugins

The icons are modified version of Color and iOS Filled at Icon8.