Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Pick black or white, depending on which gives the best contrast to a color
Black gives good contrast with Pink:
In[1]:= |
|
Out[1]= |
|
On the other hand, White gives good contrast with Magenta:
In[2]:= |
|
Out[2]= |
|
BlackWhiteContrast works on any color:
In[3]:= |
|
Out[3]= |
|
BlackWhiteContrast threads over lists:
In[4]:= |
|
Out[4]= |
|
Demonstrate the contrast of black or white against a given color background:
In[5]:= |
|
Out[5]= |
|
This work is licensed under a Creative Commons Attribution 4.0 International License