acsresearch / interlab

MIT License
17 stars 2 forks source link

Add HTMLColor helper class, with fixed pseudo-rng and lighten/darken #13

Closed gavento closed 1 year ago

gavento commented 1 year ago

Intended for color manipulation for visualizations. Fix: pseudo-random color was using hash which is unstable between runs. Now uses strs (preferred) and repr otherwise.