Albert Ragány-Németh
Albert Ragány-Németh
I don't think a function like this is possible. In a nutshell, this is what the above code does: 1. Convert your seed/source color from RGB to HCT color space....
Hi! I have already made one here: https://github.com/albi005/MaterialColorUtilities
I don't think you are supposed to set custom secondary and tertiary colors, but it is totally possible. Just create a CorePalette, override the two tonal palettes and then create...
Black in the HCT color space has *Hue* 0. The scheme generator uses this, but overrides the *Chroma* and the *Tone*, that's why it becomes purple. You can see this...