Skip to content

Instantly share code, notes, and snippets.

@octalmage
Created Oct 6, 2015
Embed
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);
//#ebebeb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment