I keep mine in one-way valved bags.
I like the ones with one clear side though so keep them in a kitchen cupboard if they are aging after roasting.
The beans Im currently drinking only last a week so they stay on the bench facing the wall.
A lot of hoppers are coloured.
I think they keep out certain wavelengths of light.