This small project will convert a RGB value to Hex value. Example: require 'rgb_to_hex' RgbToHex[255,255,255] For more usage examples, see the USAGE.md file. If you wish to also use html colours, the project called html_colours is required. If you have specific suggestions to make this gem more useful for others, please drop me an email at: shevegen@gmail.com. Thank you.
Homepage Rubygems Documentation Download
gem install rgb_to_hex -v 1.0.11