* @function LevelRenderer.Tool.Color.prototype.toHSLA * @description 转换为HSLA颜色。 * @param {string} color - 颜色。 * @returns {string} HSLA颜色,hsla(h,s,l,a)
(color)
| 573 | * @returns {string} HSLA颜色,hsla(h,s,l,a) |
| 574 | */ |
| 575 | toHSLA(color) { |
| 576 | return this.convert(color, 'hsla'); |
| 577 | } |
| 578 | |
| 579 | /** |
| 580 | * @function LevelRenderer.Tool.Color.prototype.toHSL |