We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If we create a hash of the category name, we can make endless categories without the need to give them all a color.
The name could be converted to a particular color, and we can apply the shade so they all look modern.
The text was updated successfully, but these errors were encountered:
Example on how to calculate colour in hsl
function createHslColorFromString(string: string) { let hash = 0; for (let i = 0; i < string.length; i++) { hash += string.codePointAt(i); } const hue = hash % 360; return `hsl(${hue}, 90%, 85%)`; }
Sorry, something went wrong.
No branches or pull requests
If we create a hash of the category name, we can make endless categories without the need to give them all a color.
The name could be converted to a particular color, and we can apply the shade so they all look modern.
The text was updated successfully, but these errors were encountered: