Convert single-color to color-gradient
A lib for reflecting class to json with decorator in `.ts file`.