Many coffee containers in the market have a slight tint to them, so users can check the remaining quantity of beans before they run out. And the tinted design will somewhat prevent the UV rays from degrading the coffee as well.
But such design is not really reliable to use. Dark, opaque coffee containers are much better, as they will completely block out UV rays.
Lastly, it all comes down to personal preference. Some people prefer clear container so they can see the whole beans, for some it doesn’t really matter.