(colorArray)
| 212 | } |
| 213 | |
| 214 | function colorArray2rbga(colorArray) { |
| 215 | var colorObj = { |
| 216 | r: colorArray[0], |
| 217 | g: colorArray[1], |
| 218 | b: colorArray[2], |
| 219 | a: colorArray[3] |
| 220 | }; |
| 221 | |
| 222 | return tinycolor(colorObj).toRgbString(); |
| 223 | } |
| 224 | |
| 225 | module.exports = { |
| 226 | hasColorscale: hasColorscale, |
no outgoing calls
no test coverage detected
searching dependent graphs…