Giter Club home page Giter Club logo

palettes's People

Contributors

gka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

palettes's Issues

LICENSE

Hi,

Would you consider putting this under an open-source license?

Thanks

npm package or any other way?

Can this tool be used as a package?

Does it export functions to get color palettes given the options that appear on the website?

That seems to be not the case. Did anyone extend this repo?

White tones break the hue line

Immensely helpful tool!
I found a small, minor bug: as you can see on the screenshot, the hue line breaks in the middle for diverging scales due to white's hue calculation resulting in NaN. I believe the issue is in chroma.js.

image

Some way of visualising which colors in the pallette are not distinguishable

Hi,

Thanks for a great tool. It was very helpful when we were doing research for color palettes for data visualisation.

One thing we still quite struggle with is making sure the palette is colour-blind friendly.

You provide the check if pallete is "colorblind-safe", but it seems to be checking only the pairs of colors that are distinguishable in normal palette. If colors are too similar in normal pallete, they are ignored in the check completely.

It would be great if there was any way you could visualize which colors in the palette are too similar to each other - as that seems to be causing a kind of "false positive" colorblind-safe check (the distinguishable colors pass, but there are some that are not-distinguishable, so they are ignored in the check).

For an edge-case example. A palette of nearly identical colors is marked as "colorblind-safe" by the tool, while obviously it's not a good palette for any kind of user:

Screenshot 2022-02-23 at 17 56 54

https://gka.github.io/palettes/#/6|s|00429f,00429e,00429d,00429c,00429b,00429a|ffffe0,ff005e,93003a|0|0

gh-pages demo has an uncaught TypeError in Promise

  • Palette type: sequential
  • Number of colors: any
  • Total color inputs: 6
  • correct brightness: ON
  • bezier interpolation: ON
  • colorblind simulation: any
Uncaught (in promise) TypeError: Cannot set properties of undefined (setting 'scale')
    at g.bezier (bundle.js:1:40119)
    at t.$$.update (bundle.js:1:57693)
    at A (bundle.js:1:1755)
    at U (bundle.js:1:1587)

Steps query parameter resets to `7`

When manually setting the steps query parameter:

http://gka.github.io/palettes/#colors=lightyellow,orange,deeppink,darkred|steps=11|bez=1|coL=1

The steps query parameter automatically updates to 7:

http://gka.github.io/palettes/#colors=lightyellow,orange,deeppink,darkred|steps=7|bez=1|coL=1

The provided step query parameter should be retained and applied. All other query parameters (i.e. colors, bez, and coL) work as expected.

Colors rendered incorrectly

I found another small one. Sometimes after changing colors back and forth, the colros stop rendering properly. See screenshot below.

There are no errors in the console when this happens. Reloading the page fixes them so they aren't really a problem.

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.