Simple question

Does a named colour and shades of a colour and tints etc only apply to a single file or does it transfer to all files using the primart colour?

thanks

Ian