Grey or Gray: What’s the Difference?(writingexplained.org) |
Grey or Gray: What’s the Difference?(writingexplained.org) |
Although it mentions audience, also note that many things have international audience (such as documentation for protocols).
There is one further consideration though. I generally will use American spellings in computer codes (and Italian for musical notation). I am Canadian though, so I might write a program and the documentation might say, for example, "the COLOR command changes the colour of..."