* @function LevelRenderer.Tool.Color.prototype.toRGB * @description 转换为rgb数字格式的颜色。 * @param {string} color - 颜色。 * @returns {string} 颜色。
(color)
| 513 | * @returns {string} 颜色。 |
| 514 | */ |
| 515 | toRGB(color) { |
| 516 | return this.convert(color, 'rgb'); |
| 517 | } |
| 518 | |
| 519 | /** |
| 520 | * @function LevelRenderer.Tool.Color.prototype.toHex |
no test coverage detected