Skip to content

How add greyscale in custom tonal palette? #58

Answered by rydmike
Gilianp asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Gilianp, thanks for the question.

To the Material 3 tonal palette you cannot really add a custom palette, but I will probably add the capability to tune the parameters it uses to compute the palette in a future update, and even return the entire palette.

The algorithm can compute black to white palette too, if you give it "zero" as chroma, so then it could be used, but you would have to have it in new picker where you can set its min chroma level to zero to get a black and white palette with greys inbetween.

In current versions its min chroma level is 48, like it is for primary color in the Material 3 color algo. So even if you give an almost black or white value, it always finds the …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by rydmike
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested answered
2 participants
Converted from issue

This discussion was converted from issue #49 on October 06, 2022 13:11.