Ever wanted to pick the co-ordinates as well as color of the pixel your mouse pointer is present at?
Use this script & it will show them both in your terminal itself! Move your mouse to anwhere on the screen & get to know the cooordinates & color of the current pixel it is pointing to.
- Run script from terminal:
$python3 col-coord-picker.py
- You can freely move the mouse & explore upto every corner of the screen! The coordinates & color of current pixel pointed by the mouse will be shown, e.g.:
X: 915 Y: 642 RGB: ( 48, 10, 36)
- To terminate it, press
Ctrl+C
The script uses pyautogui
module.
Check it's installation procedure here: https://pyautogui.readthedocs.io/en/latest/install.html