Functions to manipulate colors, including RGB hex strings