Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
getValue(color: ColorRGBA) {
const colorVals = [color.r, color.g, color.b, color.a]
return toColor.hex(colorVals)
},
parse: ParseColorStr,
getValue(color: ColorRGBA) {
const colorVals = [color.r, color.g, color.b, color.a]
return toColor.hex(colorVals)
},
parse: ParseColorStr,