• Adds color to rune by specifying the red, green, blue (RGB) value, ranging from 0.0 to 1.0. RGB is additive: if all values are 1, the color is white, and if all values are 0, the color is black.

    Parameters

    • rune: Rune

      The rune to add color to

    • r: number

      Red value [0.0-1.0]

    • g: number

      Green value [0.0-1.0]

    • b: number

      Blue value [0.0-1.0]

    Returns Rune

    The colored Rune