6 lines
No EOL
199 B
Text
6 lines
No EOL
199 B
Text
var app = Application.currentApplication()
|
|
app.includeStandardAdditions = true
|
|
app.activate()
|
|
|
|
var res = app.chooseColor({defaultColor: {{json .}}})
|
|
{'rgb(' + res.map(x => Math.round(x * 255)) + ')'} |