mostly workign code for limitlessled wifi bridge

I need to sort out how the heck the color codes are tabulated and how
to convert them to an integer