Would using colored cellophane or transparencies work as a filter for a pinhole camera? Like these:
https://preview.redd.it/wbo5wjxr033e1.png?width=1488&format=png&auto=webp&s=a76d56101d31eb217f9a93373f88d91e783dc8ba