Function: rgbToColor()
rgbToColor(
rgb):string
Defined in: src/utils/color.ts:133
Convert an [r, g, b] float array (0.0..1.0) to a color (hex string).
Ports rgb_to_color. Unlike ManimCE, the array is always interpreted as
floats in 0.0..1.0 (manim-web's internal color model); ManimCE's int-vs-float
auto-detection is not reproduced.
Parameters
rgb
Rgb
Returns
string