I tried to do this with OptionParser with no luck

I figure I should spend the afternoon getting the integer to hex color
code conversion working + making a bridge to the net controller