material-foundation / material-theme-builder

Visualize dynamic color and create a custom Material Theme.
https://material-foundation.github.io/material-theme-builder/
Apache License 2.0
364 stars 28 forks source link

Different Hex Material Theme Builder Web vs Figma ! #42

Closed tonyhallett closed 1 year ago

tonyhallett commented 2 years ago

Describe the bug Calculated colors are inconsistent between the two tools.

To Reproduce Steps to reproduce the behavior:

  1. Select source color of 103, 80, 164 in both https://material-foundation.github.io/material-theme-builder/#/custom and figma
  2. Compare. The following are all different

Primary Light - onColorContainer Primary Dark - onColor Secondary Light - onColorContainer Secondary Dark - color Tertiary Light - onColorContainer Tertiary Dark - onColor

probably more - got bored checking

Expected behavior consistency

Desktop (please complete the following information):

tonyhallett commented 2 years ago

Although custom colors are not available in Figma I would expect that for Custom 183,115,48 there would be inconsistency for Light color