2021-02-18 21:20:57 -05:00
|
|
|
var app = Application.currentApplication()
|
|
|
|
app.includeStandardAdditions = true
|
|
|
|
app.activate()
|
|
|
|
|
2021-02-19 12:46:47 -05:00
|
|
|
var res = app.chooseColor({defaultColor: {{json .}}})
|
|
|
|
{"rgb(" + res.map(x => Math.round(x * 255)) + ")"}
|