(value, opacity)
| 120 | } |
| 121 | |
| 122 | export function transparentize(value, opacity) { |
| 123 | var alpha = opacity === undefined ? 0.5 : 1 - opacity; |
| 124 | return colorLib(value).alpha(alpha).rgbString(); |
| 125 | } |
| 126 | |
| 127 | export const CHART_COLORS = { |
| 128 | red: 'rgb(255, 99, 132)', |
nothing calls this directly
no outgoing calls
no test coverage detected