On Fri, Jul 22, 2011 at 3:07 PM, Ross Berteig <r...@cheshireeng.com> wrote:
> > It would be nice if branches had a default color distinct from > the trunk. ... One way to do that that *might* be ... generate a hash of > the branch tag > name and use it for the color. > Do you have a suggested hash algorithm that will always generate a usable color - one that has sufficient contrast with foreground to be readable, yet not eye-jarring. Most of the RGB color space is, after all, unsuitable for use as background colors on Fossil timelines. Note also that the set of suitable background colors will also depend on what foreground color you use for the font. I guess you could assume that foreground is always black.... -- D. Richard Hipp d...@sqlite.org
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users