I think that it goes back prior to film when, in publishing, censors showed suggested deletions by marking with a blue pencil. 'Blue' became a byword for stuff that may be censored and I guess was applied to films when they started to be produced.
I know that Max Miller used to ask his...