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
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.
- Can show three different color values
- Color name
- RGB values
- Hexadecimal value
- Three behaviour modes
- On key press
- Dynamic
- Fixed
- Customizable color name definitions
- Values can be copied to the clipboard
- Can store color hex values, even after closing the StremDeck app
- Quick press: Store value
- A slightly longer press: Copy value to clipboard on release
- It only requires 1/4 second to keep it pressed to copy the value
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).
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.
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.
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.
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.
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.
The icons are modified version of Color and iOS Filled at Icon8.