Support ColorDefault in extended color modes.

How about like this? Leaves ColorDefault as 0 in all cases, and handling is a little more consistent.

I also changed out-of-bounds values in 216 and grayscale modes to assign ColorDefault in stead of specific values.

I think i've made _demos/output.go a little messy. Should lines be kept to 80 characters long?