Check if a color is safe on black background

color:is_safe_on_black?($hex_color_code)

color:is_safe_on_black?('31589B')
#=> TRUE

Copyright ©2013-2022 SunSed®. All rights reserved.