Understanding Krita's Color Themes

Might be placing this question in the wrong category, but I wanted to ask someone for an explanation about how Krita’s color themes work. More specifically I would like to know:

  • What is the purpose of the .colors file extension?
  • What language/syntax are the .colors files using?

Is there anyone who can help me with this?

A file-name-extension is there to let you know what kind of file it is and to let the Operating System (OS) know what it can do/has to do with this kind of file. And there are OS’s that use this system and others that not.

These are simple text files with “normed” text-formatting, where you put in the expression of the colors in RGB-notation. You can open one with your text-editor to see what is inside, it is no magic.

Michelist

It uses the same type of syntax as Krita’s kritarc configuration file; it’s a KConfig.

[ConfigGroupName]
SettingName=SettingValue

There’s documentation for color scheme settings here: KDE Plasma - Color Schemes. Note that Krita doesn’t use all of the settings.