You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 15, 2026. It is now read-only.
When no color for a category is specified, then a color is determined by the category name's hash. This may result in hard-to-read or similar looking colors. Therefore I suggest using one of these two alternative implementations
Algorithm that limits the color space to easy-to-read (on both dark and light background) colors and additionally separate the difference between colors (such that there won't be one category with the color blue and another one with a slightly lighter blue).
Use a predefined color palette (adorable2 already provides them). The problem here that can you cannot hash the categories individually so it's probably required to shuffle the colors based on the first/last hash.
Both implementations should of course have no effect to the preferred method of specifying the colors explicitly.
When no color for a category is specified, then a color is determined by the category name's hash. This may result in hard-to-read or similar looking colors. Therefore I suggest using one of these two alternative implementations
Both implementations should of course have no effect to the preferred method of specifying the colors explicitly.