colorInt

Returns the integer value, or black's int if invalid.