* Create a color object with RGBA values, white by default * @param {number} [r=1] - red * @param {number} [g=1] - green * @param {number} [b=1] - blue * @param {number} [a=1] - alpha * @return {Color} * @memberof Math
(r, g, b, a)
| 852 | * @memberof Math |
| 853 | */ |
| 854 | function rgb(r, g, b, a) { return new Color(r, g, b, a); } |
| 855 | |
| 856 | /** |
| 857 | * Create a color object with HSLA values, white by default |
no outgoing calls
no test coverage detected