Skip to content

DonutLaser/laser-color

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laser Color

A simple color picker for Windows written in C++.

App window

You can choose colors, copy them in three different formats into the clipboard and save the colors into the library.

Controls

The application has no mouse controls except for the close and minimize buttons on the title bar. This is so that you wouldn't have to move your hand away from the keyboard keys which makes you work slower. Keybindings were inspired by vim keybindings therefore knowledge and being comfortable with vim keybindings can be helpful when using this application.

Keybindings:
  • J - move to the next color component (e.g., from R to G or from G to B)
  • K - move to the previous color component (e.g., from B to G or from G to R)
  • W - increase the value of the component by 1
    • Shift + W - increase the value of the component by 10
  • B - decrease the value of the component by 1
    • Shift + B - decrease the value of the component by 10
  • 0 - toggle color component (switch from 0 to 255 and vice versa)
  • Ctrl + D - copy the color as three byte values: 255, 128, 128
  • Ctrl + F - copy the color as three percentages values (range from 0 to 1): 1.0f, 0.5f, 0.5f
  • Ctrl + X - copy the color as a hexadecimal value: #ff8080
  • I - add the color to the library
  • X - remove the color from the library
  • R - replace the currently selected color in the library with the chosen color
  • U - undo changes to the color in the library
  • H - select previous color sample
  • L - select next color sample
  • Ctrl + S - save the library

Installation

To install the app, simply go to Releases page of the repository and download the LaserColor.exe installer. In the installer, follow instructions as you would in any other installer. That's it.