Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Determine an appropriate font color from a given background color
Find an appropriate font color when using blue as a background color:
In[1]:= | ![]() |
Out[1]= | ![]() |
Test the example:
In[2]:= | ![]() |
Out[2]= | ![]() |
Test on a wider variety of background colors:
In[3]:= | ![]() |
Out[4]= | ![]() |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License