@tremendous/help
    Preparing search index...

    Function isVeryBrightColor

    • Checks whether a given color is considered very bright. A color is considered very bright if its luminosity is greater than 0.87.

      Parameters

      • Optionalcolor: string

        The CSS color string to be evaluated.

      Returns boolean

      Returns true if the color is very bright, otherwise false. If no color is provided, returns false.

      const isVeryBright = isVeryBrightColor("#ffffff");
      console.log(isVeryBright); // true