Source Academy Modules
    Preparing search index...

    Function rgb

    • Returns a hex color code representing the specified RGB values.

      Parameters

      • redValue: number

        red value of the color

      • greenValue: number

        green value of the color

      • blueValue: number

        blue value of the color

      Returns string

      hex color code