The main idea is to create a tool to easily design IDA color schemes outside IDA.
This will hopefully allow simplifying & automating the generation of color schemes and help create colorblind-friendly settings.
IDA has HTML export support. So we already have a display-engine that we can use to emulate IDA. What is left is to map the settings to the HTML.
- Export color scheme from IDA to generate base template
- Replace all colors in the scheme to ensure uniqueness
- Load new scheme into IDA
- Bleed from eyes
- Export HTML from IDA
- Replace
style="color:#123456"
withclass="cls_123456"
in the HTML file - Add a stylesheet with the relevant classes
At this point, we can (hopefully) easily manipulate the stylesheet to change the colors.
Generating an IDA .clr
file should be an easy step of mapping the stylesheet back to a .clr
file.
UBER HACK
The initial view generation kinda works. Next step is the UI.
- IDA uses BGR for colors, not RGB.