MCPcopy Create free account
hub / github.com/adobe/leonardo / bulkConvertColorValue

Function bulkConvertColorValue

docs/ui/src/js/utils.js:166–172  ·  view source on GitHub ↗
(colors, format, object = false)

Source from the content-addressed store, hash-verified

164
165window.bulkConvertColorValue = bulkConvertColorValue;
166function bulkConvertColorValue(colors, format, object = false) {
167 let formatted = [];
168 for (let i = 0; i < colors.length; i++) {
169 formatted.push(convertColorValue(colors[i], format, object));
170 }
171 return formatted;
172}
173
174window.getAllChannelValues = getAllChannelValues;
175function getAllChannelValues(colors, format, key) {

Callers 1

getAllChannelValuesFunction · 0.85

Calls 1

convertColorValueFunction · 0.70

Tested by

no test coverage detected