# Allow Having Multiple IO Mask Colours

**URL:** <https://forums.ankiweb.net/t/allow-having-multiple-io-mask-colours/61137>\
**Category:** Suggestions\
**Created:** [May 18, 2025, 6:03am UTC](https://forums.ankiweb.net/t/allow-having-multiple-io-mask-colours/61137 "2025-05-18T06:03:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sorata](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/sorata/32/34115_2.png) [@sorata](https://forums.ankiweb.net/u/sorata)\
**Post date:** [May 18, 2025, 6:03am UTC](https://forums.ankiweb.net/t/allow-having-multiple-io-mask-colours/61137/1 "2025-05-18T06:03:38Z")

</div>

For IOs with a lot of masks, having a single `--inactive-shape-color` is not a positive. If we could, say, set the mask colour from the editor, we can have seperate colours for seperate kinds of information.

One use case is biological pathways where enzymes are different from the substrates. I can have blue for the enzymes and green for the other.

This suggestion also helps: [Image occlusion text mask?](https://forums.ankiweb.net/t/image-occlusion-text-mask/45354)

But I’m trying to make info-dense IO cards look more organised so colours would be better.

---

<div class="post-metadata">

**Author:** ![solusyus](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/solusyus/32/28826_2.png) [@solusyus](https://forums.ankiweb.net/u/solusyus)\
**Post date:** [May 18, 2025, 1:40pm UTC](https://forums.ankiweb.net/t/allow-having-multiple-io-mask-colours/61137/2 "2025-05-18T13:40:40Z")

</div>

I second this. I can imagine so many use cases for this, especially in flowcharts where we can color-code elements at the same hierarchical levels, which would help reduce cognitive load and confusion.  
Although I wonder if it is possible to achieve this by modifying the IO note type code, I think it is.

---

<div class="post-metadata">

**Author:** ![sorata](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/sorata/32/34115_2.png) [@sorata](https://forums.ankiweb.net/u/sorata)\
**Post date:** [May 18, 2025, 2:41pm UTC](https://forums.ankiweb.net/t/allow-having-multiple-io-mask-colours/61137/3 "2025-05-18T14:41:58Z")

</div>

I think you’ll need to edit each notes code because Anki applies the `--inactive-shape-color` variable to each mask.

---

<div class="post-metadata">

**Author:** ![solusyus](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/solusyus/32/28826_2.png) [@solusyus](https://forums.ankiweb.net/u/solusyus)\
**Post date:** [May 18, 2025, 4:24pm UTC](https://forums.ankiweb.net/t/allow-having-multiple-io-mask-colours/61137/4 "2025-05-18T16:24:12Z")

</div>

I’ve done that before, and it changes the color of every inactive mask which is obvious and this is not what this post is about. I was talking about controlling the color of individual masks.

---

<div class="post-metadata">

**Author:** ![sorata](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/sorata/32/34115_2.png) [@sorata](https://forums.ankiweb.net/u/sorata)\
**Post date:** [May 18, 2025, 4:25pm UTC](https://forums.ankiweb.net/t/allow-having-multiple-io-mask-colours/61137/5 "2025-05-18T16:25:57Z")

</div>

> [@solusyus](#):
>
> Although I wonder if it is possible to achieve this by modifying the IO note type code, I think it is.

It’s not _already_ possible is what I meant and what the text seemingly suggests.

---

<div class="post-metadata">

**Author:** ![solusyus](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/solusyus/32/28826_2.png) [@solusyus](https://forums.ankiweb.net/u/solusyus)\
**Post date:** [May 18, 2025, 4:33pm UTC](https://forums.ankiweb.net/t/allow-having-multiple-io-mask-colours/61137/6 "2025-05-18T16:33:00Z")

</div>

Oh, I get it now.

---

<div class="post-metadata">

**Author:** ![Anon\_0000](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Anon\_0000](https://forums.ankiweb.net/u/Anon_0000)\
**Post date:** [June 2, 2025, 6:10pm UTC](https://forums.ankiweb.net/t/allow-having-multiple-io-mask-colours/61137/7 "2025-06-02T18:10:24Z")

</div>

llama opened a PR:

> <https://github.com/ankitects/anki/pull/4048>
>
> !\[image\](https://github.com/user-attachments/assets/d12e4008-98e1-467c-83bd-7fd6…fcb78f39)
> 
> Forum post: https://forums.ankiweb.net/t/allow-having-multiple-io-mask-colours/61137
> 
> This pr proposes to add a new fill tool to the io editor, which would bring it closer to the IOE addon feature-wise
