* @function LevelRenderer.Tool.Color.prototype.toHSL * @description 转换为HSL颜色。 * @param {string} color - 颜色。 * @returns {string} HSL颜色,hsl(h,s,l)
(color)
| 583 | * @returns {string} HSL颜色,hsl(h,s,l) |
| 584 | */ |
| 585 | toHSL(color) { |
| 586 | return this.convert(color, 'hsl'); |
| 587 | } |
| 588 | |
| 589 | /** |
| 590 | * @function LevelRenderer.Tool.Color.prototype.toName |