Do spice containers need to be hermetic? Spice containers purchase

I'm planning on upgrading my spice storage. Reading some advice online (e.g. article 1, and article 2) I came to the conclusion that spice containers should:


Not be exposed to direct sunlight and high temperatures
Be airtight


Which means that either you store it inside of some closed cupboard/wardrobe/room or you have containers which do block light and are in a relatively shady place. And the containers need to be airtight.

Available solutions

I've been browsing for some containers available online in my country and the 2 most sensible options I've seen are these:






The problem

The first one is hermetic (it has some rubber around the lid) but it's clear glass. The other one does not have the rubber, just a regular twist-off lid, but it's amber glass.

It'll be hard for me to find any space inside of cupboards to store all of my spices (I need at least 30), so I'd rather buy amber glass container, which I believe will effectively block the sunlight, even when kept on the counter. But I can't find any hermetic amber-glass containers, only ones with regular lid.

The question

Is that regular twist-off lid enough to keep spices airtight and fresh? Or should I focus on buying a hermetic container (like the one in clear glass). I could then for example paint them black to block the sunlight.
Based on my understanding of physics I would say: Opaque over airtight.

Things you don't want in a spice container are:


convection. An open container is essentially an invitation for the spices to diffuse into the whole room. Even a simple cap will already greatly reduce this effect. The amount of air that's going to be exchanged through a not so airtight cap over a hermetic seal probably pales in comparison to the amount of air that is exchanged whenever you use the spice.
sunlight. Amber glass is going to be clearly better at this than clear glass. It's unclear whether the problem is the light itself or simply the light's ability to transfer heat to the spices. I'd say the latter will probably weigh more heavily. Regardless though the amber glass will be better at both blocking light from getting to the spices and at radiating heat away from the container.
heat. Both containers being glass they'll be about equal when it comes to dealing with heat directly transferred onto the container.


Technically, if your container had very little spice in it then there might be some constellation where a the clear container could beat the amber one based in its ability to let light energy pass through it without affecting either the container or the spice.