An easy way to work to switch between Hex and RGB values in Ruby