Added some more functionality

Added functionality to strip out hex colours (still need to work on rgba
values)
Need to also find a way to sort the colours into logic groups.