Create color style with API

As for right now it’s not possible but soon will be possible via plugins :

What are Penpot’s plans for a Plugin System?