Any practical applications for this? I think an RGB to HEX conversion might be more helpful to a developer.