Hi @ateeque and welcome,
Check the following topic, it includes a sample project that uses the jscolor library. The part to study is how it updates the material color on each color change:
Hi @ateeque and welcome,
Check the following topic, it includes a sample project that uses the jscolor library. The part to study is how it updates the material color on each color change: