IGN: _theowen_
What type of player: engineer/redstoner. I can do anything with command blocks (I mean that as literally as possible, I made a turing machine once). I also like making conceptually interesting builds.
What I can add: Cool builds that have lots of built-in redstone, and I can help with cmd blocks and other redstone
What color is nine: Well, you're probably expecting some funny answer like "the smell of freshly baked bread" but I could go into a deeply technical view of this. Which I will.
I will assume you mean represented on a computer, because that's the most reasonable place where a number represents a color. All colors on screens are represented as a set of 3 elements: {red, green, blue}, because they are the additive primary colors. Each of these elements are usually an unsigned integer, made of 8 bits (aka a byte, or a char) which means they can be of the value [0, 256) -- 0 to 28 - 1. In the programming language C++ you could represent a set of bits as a color with this class:
struct color {
unsigned int r : 8;
unsigned int g : 8;
unsigned int b : 8;
}
So, the class (in this case struct) would occupy 8*3 bits, or 3 bytes. To look at a color from another value, you would do something like this:
int value; //this is a value that can be from -2^32 to 2^32 on most systems.
color = \*((color\*)&value);
So to print these values, you could do something like this:
#include <iostream>
using namespace std;
struct color {
int r : 8;
int g : 8;
int b : 8;
};
int main() {
int x = 9;
color c = *((color*)&x);
cout << "red: " << (int)c.r << endl;
cout << "green: " << (int)c.b << endl;
cout << "blue: " << (int)c.g << endl;
return 0;
}
If you run this code, on little-endian architectures (i.e. 9 is represented as 000...0001001 in binary) the resulting color object will have a value of (9, 0, 0): very, very dark red. If you run it with a big-endian system (i.e. 9 would be 1001000....0000) you would get (0, 0, 9) which is very, very dark blue.
tl;dr: black.