Checks whether a given color is considered very bright. A color is considered very bright if its luminosity is greater than 0.87.
Optional
The CSS color string to be evaluated.
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 Copy
const isVeryBright = isVeryBrightColor("#ffffff");console.log(isVeryBright); // true
Checks whether a given color is considered very bright. A color is considered very bright if its luminosity is greater than 0.87.