Language: C

s[]={"black","blue","lime","aqua","red","fuchsia","yellow","white"};main(c){for(;scanf("#%x\n",&c);)puts(s[c>>7&1|c>>14&2|c>>21&4]);}

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | s[]={"black","blue","lime","aqua","red","fuchsia","yellow","white"};main(c){for(;scanf("#%x\n",&c);)puts(s[c>>7&1|c>>14&2|c>>21&4]);}
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 's' [-Wimplicit-int]
main.c:1:14: error: excess elements in 'int[]' initializer
    1 | s[]={"black","blue","lime","aqua","red","fuchsia","yellow","white"};main(c){for(;scanf("#%x\n",&c);)puts(s[c>>7&1|c>>14&2|c>>21&4]);}
      |              ^~~~~~
main.c:1:14: note: (near initialization for 's')
main.c:1:21: error: excess elements in 'int[]' initializer
    1 | s[]={"black","blue","lime","aqua","red","fuchsia","yellow","white"};main(c){for(;scanf("#%x\n",&c);)puts(s[c>>7&1|c>>14&2|c>>21&4]);}
      |                     ^~~~~~
main.c:1:21: note: (near initialization for 's')
main.c:1:28: error: excess elements in 'int[]' initializer
    1 | s[]={"black","blue","lime","aqua","red","fuchsia","yellow","white"};main(c){for(;scanf("#%x\n",&c);)puts(s[c>>7&1|c>>14&2|c>>21&4]);}
      |                            ^~~~~~
main.c:1:28: note: (near initialization for 's')
main.c:1:35: error: excess elements in 'int[]' initializer
    1 | s[]={"black","blue","lime","aqua","red","fuchsia","yellow","white"};main(c){for(;scanf("#%x\n",&c);)puts(s[c>>7&1|c>>14&2|c>>21&4]);}
      |                                   ^~~~~
main.c:1:35: note: (near initialization for 's')
main.c:1:41: error: excess elements in 'int[]' initializer
    1 | s[]={"black","blue","lime","aqua","red","fuchsia","yellow","white"};main(c){for(;scanf("#%x\n",&c);)puts(s[c>>7&1|c>>14&2|c>>21&4]);}
      |                                         ^~~~~~~~~
main.c:1:41: note: (near initialization for 's')
main.c:1:51: error: excess elements in 'int[]' initializer
    1 | s[]={"black","blue","lime","aqua","red","fuchsia","yellow","white"};main(c){for(;scanf("#%x\n",&c);)puts(s[c>>7&1|c>>14&2|c>>21&4]);}
      |                                                   ^~~~~~~~
main.c:1:51: note: (near initialization for 's')
main.c:1:60: error: excess elements in 'int[]' initializer
    1 | s[]={"black","blue","lime","aqua","red","fuchsia","yellow","white"};main(c){for(;scanf("#%x\n",&c);)puts(s[c>>7&1|c>>14&2|c>>21&4]);}
      |                                                            ^~~~~~~
main.c:1:60: note: (near initialization for 's')
main.c:1:5: error: cannot initialize array of 'int' from a string literal with type array of 'char'
    1 | s[]={"black","blue","lime","aqua","red","fuchsia","yellow","white"};main(c){for(;scanf("#%x\n",&c);)puts(s[c>>7&1|c>>14&2|c>>21&4]);}
      |     ^
main.c:1:69: error: return type defaults to 'int' [-Wimplicit-int]
    1 | s[]={"black","blue","lime","aqua","red","fuchsia","yellow","white"};main(c){for(;scanf("#%x\n",&c);)puts(s[c>>7&1|c>>14&2|c>>21&4]);}
      |                                                                     ^~~~
main.c: In function 'main':
main.c:1:69: error: type of 'c' defaults to 'int' [-Wimplicit-int]
main.c:1:82: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | s[]={"black","blue","lime","aqua","red","fuchsia","yellow","white"};main(c){for(;scanf("#%x\n",&c);)puts(s[c>>7&1|c>>14&2|c>>21&4]);}
      |                                                                                  ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | s[]={"black","blue","lime","aqua","red","fuchsia","yellow","white"};main(c){for(;scanf("#%x\n",&c);)puts(s[c>>7&1|c>>14&2|c>>21&4]);}
main.c:1:82: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | s[]={"black","blue","lime","aqua","red","fuchsia","yellow","white"};main(c){for(;scanf("#%x\n",&c);)puts(s[c>>7&1|c>>14&2|c>>21&4]);}
      |                                                                                  ^~~~~
main.c:1:82: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:101: error: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
    1 | s[]={"black","blue","lime","aqua","red","fuchsia","yellow","white"};main(c){for(;scanf("#%x\n",&c);)puts(s[c>>7&1|c>>14&2|c>>21&4]);}
      |                                                                                                     ^~~~
main.c:1:101: note: include '<stdio.h>' or provide a declaration of 'puts'
main.c:1:107: error: passing argument 1 of 'puts' makes pointer from integer without a cast [-Wint-conversion]
    1 | s[]={"black","blue","lime","aqua","red","fuchsia","yellow","white"};main(c){for(;scanf("#%x\n",&c);)puts(s[c>>7&1|c>>14&2|c>>21&4]);}
      |                                                                                                          ~^~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                                           |
      |                                                                                                           int
main.c:1:107: note: expected 'const char *' but argument is of type 'int'