1.0.3 • Published 7 years ago
extract-screen-colors v1.0.3
extract-screen-colors
Takes a screenshot and returns an array with the most prominent colors on your screen.
Output
[
Color { _rgb: [ 242, 241, 240, 1, _clipped: false ] },
Color { _rgb: [ 15, 14, 14, 1, _clipped: false ] },
Color { _rgb: [ 161, 136, 101, 1, _clipped: false ] },
Color { _rgb: [ 152, 105, 76, 1, _clipped: false ] },
Color { _rgb: [ 82, 203, 213, 1, _clipped: false ] }
]