Incorrect chromas for color roles that are using the neutral palette

Bug: 277959794
Change-Id: I62e4d1eb11ec2e707c49e50db9caf9302e401d3b
Test: Manual
This commit is contained in:
Marcelo Arteiro
2023-04-19 15:30:40 +00:00
parent 0baef5347c
commit 287e5c2fb8

View File

@@ -32,7 +32,7 @@ public class SchemeTonalSpot extends DynamicScheme {
TonalPalette.fromHueAndChroma(sourceColorHct.getHue(), 16.0),
TonalPalette.fromHueAndChroma(
MathUtils.sanitizeDegreesDouble(sourceColorHct.getHue() + 60.0), 24.0),
TonalPalette.fromHueAndChroma(sourceColorHct.getHue(), 4.0),
TonalPalette.fromHueAndChroma(sourceColorHct.getHue(), 6.0),
TonalPalette.fromHueAndChroma(sourceColorHct.getHue(), 8.0));
}
}