# Gamut masking feature

**URL:** https://community.aseprite.org/t/gamut-masking-feature/10021
**Category:** Features
**Created:** [July 17, 2021, 8:04am UTC](https://community.aseprite.org/t/gamut-masking-feature/10021 "2021-07-17T08:04:45Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Olga\_Galvanova](https://community.aseprite.org/user_avatar/community.aseprite.org/olga_galvanova/32/3294_2.png) [@Olga\_Galvanova](https://community.aseprite.org/u/Olga_Galvanova)
#### Post date: [July 17, 2021, 8:04am UTC](https://community.aseprite.org/t/gamut-masking-feature/10021/1 "2021-07-17T08:04:45Z")

</div>

gamut masking concept is beautifully demonstrated by james gurney in this short video: [Gamut Masking - YouTube](https://www.youtube.com/watch?v=qfE4E5goEIc)

it basically means following:

1. you select your own primaries, usually three (going for more than four kind of removes the point of the whole thing)
2. these primaries determine the gamut available to you. it can be simulated by creating a mask over a colour wheel.

i made rough mock-ups how it could work. there are two modes: edit gamut mask and use gamut mask.  
 ![gamut-masking-edit](https://community.aseprite.org/uploads/default/original/2X/b/b51ea96abb8161b7e34d540823d34940b6198da9.png)  
_ **edit gamut mask** mode allows for shifting selected primaries around a colour wheel space_

![gamut-masking-use](https://community.aseprite.org/uploads/default/original/2X/9/9816df86abfad69e0e2ffe72b10e7f08821b715e.png)  
_ **use gamut mask mode** allows to select colours and prevents accidental editing of the gamut mask shape_

you might notice that this feature requires [colour wheel with 50% gray in a center](https://community.aseprite.org/t/hsl-color-wheel/10020).

why is this useful:  
artists - particularly beginners - often struggle to restrain themselves and tend to use way too saturated colours with hues all over the place. gamut masking helps with that.

* * *

* * *

here’s example from pixel art world. artist winoma\_s uploaded to pixel joint this beautiful image _([link](https://pixeljoint.com/pixelart/139966.htm))_:  
[![](https://pixeljoint.com/files/icons/full/akirax1.png) ](https://pixeljoint.com/files/icons/full/akirax1.png)

when you check its colours in dawnbringer’s palette analyzer, you’ll see this:  
 ![winomas-akira-palette](https://community.aseprite.org/uploads/default/original/2X/f/f92ec7ed8bf69257eb7d2e1914f16a7da18f4680.png)  
you can overlay a triangle over those colours and you will get this:  
 ![winomas-akira-gamut](https://community.aseprite.org/uploads/default/original/2X/7/7ebbad2b10842b0b373141a5d4ffe22af761136f.png)  
that’s gamut masking in practice. two main primaries (~cyan and ~magenta) with third (very desaturated yellow) serving as an accent colour. it’s masterful.  
of course i can’t say winoma\_s used gamut masking - i don’t know that. but i believe this example shows quite well how useful gamut masking can be.

---

<div class="post-metadata">

### Author: ![WolftrooperNo86](https://community.aseprite.org/user_avatar/community.aseprite.org/wolftrooperno86/32/3897_2.png) [@WolftrooperNo86](https://community.aseprite.org/u/WolftrooperNo86)
#### Post date: [July 18, 2021, 5:49am UTC](https://community.aseprite.org/t/gamut-masking-feature/10021/2 "2021-07-18T05:49:28Z")

</div>

First off. That art piece is \*\*\*\*ing beautiful. What an amazing example! I love Akira.

Second. This is an interesting concept. I reeeeaaaalllly need to study more color theory!

Third. This looks like it could be quite a helpful feature. I wonder if something like this could be coded. _heads for the API reference_

---

<div class="post-metadata">

### Author: ![Victor\_Silva](https://community.aseprite.org/user_avatar/community.aseprite.org/victor_silva/32/14481_2.png) [@Victor\_Silva](https://community.aseprite.org/u/Victor_Silva)
#### Post date: [February 9, 2023, 1:34pm UTC](https://community.aseprite.org/t/gamut-masking-feature/10021/3 "2023-02-09T13:34:04Z")

</div>

i’d love to see that gamut mask on aseprite as well. krita already has that feature

---

<div class="post-metadata">

### Author: ![gareththegeek](https://community.aseprite.org/user_avatar/community.aseprite.org/gareththegeek/32/20894_2.png) [@gareththegeek](https://community.aseprite.org/u/gareththegeek)
#### Post date: [March 18, 2025, 8:14pm UTC](https://community.aseprite.org/t/gamut-masking-feature/10021/4 "2025-03-18T20:14:16Z")

</div>

Also would love to see this feature. I took a look at the plugin api but I don’t think it’s possible to create a UI similar to Krita’s gamut masking.

I noticed there’s a paid plugin on itch but it only works with predefined gamut masks rather than allowing you to specify arbitrary primaries.
