Skip to content

Exposes the macOS colour selector in a easy to use Promise-based Node API.

License

Notifications You must be signed in to change notification settings

MagicCap/macos-node-colour-selector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

macos-node-colour-selector

Exposes the macOS colour selector in a easy to use Promise-based Node API.

const colourSelector = require("macos-node-colour-selector")

// You can also set the defaults for the R, G, B values by passing them as args. The default is 255, 255, 255.
colourSelector().then(colours => {
    console.log(`R: ${colours[0]}`)
    console.log(`G: ${colours[1]}`)
    console.log(`B: ${colours[2]}`)
})

About

Exposes the macOS colour selector in a easy to use Promise-based Node API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published