Polarising filters will also often introduce a colour cast and they are certainly not 100% transmitting of one polarisation & 100% blocking of the perpendicular polarisation.
Some are 'high extinction' designed to be better at blocking the unwanted polarisation, others to be 'high transmission' letting more of the unwanted polarisation in order to maximize the total light.
When I've looked at filters that are supposedly colour neutral on a visual spectrometer (I made use of the one at work) they always had some degree of tilt to the visible spectrum with additional finer details such as bumps & pits. So some wavelengths of red were transmitted more than other nearby reds (as with what we would see as blues
& greens).
The purpose of coloured filters allows much more leeway, sometimes very much more.
A strong red filter will usually be a long pass design that blocks nearly all light below a set wavelength goes through a transmission area then transmits at more than 90% of longer wavelengths. The wavelength of the transmission zone will very with different types of red filter. Fainter reds will also allow more of the shorter wavelengths, but I've not really used those.
Blue filters that are designed for three colour work are similar with the short end of visual light, but will typically leak significant amounts of near infra red, which some digital cameras can see (though it's generally only significant with converted cameras). There are plenty of other blue tinged filters used for cooling the image that are far more subtle in their effect - these are typically only used for film.
Green filters will cut light at both ends of the visual spectrum but are in my experience a lot more variable. I have three different #58 green filters which are fairly similar through the visual range but differ markedly in the near IR - one transmits loads, one very little & the third in between - only one works for my application

Other types of green filter (different wratten numbers) can differ very significantly. One tiny filter I have looks almost silvery as it reflects most light & only transmits a few nanometers of green light (I think it was 5nm either side of the peak transmission) I guess the lens I took it off was previously used for working with green lasers of it's peak wavelength.
Humans perception of colour is actually rather complicated & a LONG way from what the light actually is.
While we see three colours light in the visual band of the electromagnetic spectrum covers ~400 to ~700nm each photon will has a specific wavelength in this range - specific to much less than 0.01nm (I've never worked with instruments that can measure differences less than 0.01nm) which leave well over 30,000 actual possible wavelengths. White light from continuum sources will typically include all of these wavelengths.
The cells in our eyes that respond to colours over lap considerably in their responses, with the relative response being used by our brain to interpret colour. There are 'metamers' mixtures of two pure wavelengths that we see as a completely different colour. Other animals see colours differently to us, some only have two colour receptors & some at least 13 different types. Some peoples vision differs too (colour blind etc.)
Digital cameras are usually designed to mimic our eyes as nearly as possible, but the filters used in one camera will differ than the ones used in another brand and none are perfect. Lenses are often not complete colour neutral either some having quite distinct tints. Fortunately for pictorial use perfection is not needed & often not even desirable.