The +128%256 operation will not achieve maximal contrast in some cases (it results in Grey on White or Black), but at least it avoids the inverse-video transform trap in which neutral gray transforms to itself.
-- Bill / N1VUX
In reply to Re: to generate a set of well contrasted colors
by Anonymous Monk
in thread to generate a set of well contrasted colors
by pg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |