* @function LevelRenderer.Tool.Color.prototype.toHSB * @description 转换为HSB颜色。 * @param {string} color - 颜色。 * @returns {string} HSB颜色,hsb(h,s,b)
(color)
| 563 | * @returns {string} HSB颜色,hsb(h,s,b) |
| 564 | */ |
| 565 | toHSB(color) { |
| 566 | return this.convert(color, 'hsb'); |
| 567 | } |
| 568 | |
| 569 | /** |
| 570 | * @function LevelRenderer.Tool.Color.prototype.toHSLA |