@dragonspark/chroma-kit
    Preparing search index...

    Function normalizeRGBColor

    • Normalizes the RGB color values to ensure they fall within the range of 0 to 1.

      Parameters

      • color: RGBColor

        An object representing an RGB color with properties r, g, and b.

      Returns RGBColor

      A new RGBColor object with each color channel normalized.