v4
Added:
checkLuminanceSimple(srcColor, threshold)
To interpret the level of darkness of the provided color, and tag it as dark or light.
Parameters:
srcColor (simple color): Color to check. Usually a background color. By default 'chart.bg_color'.
threshold (simple int)
Returns: Boolean isDark
checkLuminanceSeries(srcColor, threshold)
To interpret the level of darkness of the provided color, and tag it as dark or light.
Parameters:
srcColor (color): Color to check. Usually a background color. By default 'chart.bg_color'.
threshold (simple int)
Returns: Boolean isDark
Removed:
checkLuminance(srcColor, threshold)
To interpret the level of darkness of the provided color, and tag it as dark or light.