Skip to content

Instantly share code, notes, and snippets.

Created Oct 6, 2015
What would you like to do?
RobotJS screen capture API preview.
var robot = require("robotjs");
var image = robot.screen.capture();
var hex = image.colorAt(25, 25);
console.log("#" + hex);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment