randomColor icon indicating copy to clipboard operation
randomColor copied to clipboard

Generate different colors

Open DamienCassou opened this issue 5 years ago • 3 comments

Even in the latest release which is supposed to return very different colors, I get similar ones:

testimage

DamienCassou avatar Jan 27 '20 19:01 DamienCassou

I'm seeing very similar colors as well.

mpereira avatar May 04 '20 08:05 mpereira

Are these all using luminosity: 'dark'? Would you mind sharing your usage of the library, e.g.

randomColor({ count: 6, luminosity: 'dark' });

davidmerfield avatar Jul 14 '20 20:07 davidmerfield

Using luminosity: 'dark' does not make things better:

pie

My code just does:

randomColor({count: labels.length, luminosity: 'dark'})

The code is at https://github.com/DamienCassou/piechart/pull/2.

DamienCassou avatar Jul 22 '20 09:07 DamienCassou