Rgb2hex and hex2rgb in matlab

The following Matlab project contains the source code and Matlab examples used for rgb2hex and hex2rgb. Simply convert between hex color values and rgb color values.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
hex2rgb.m 2945
license.txt 1311
rgb2hex.m 1809
rgb2hex_hex2rgb_demo.html 12358
rgb2hex_hex2rgb_demo.png 1484
rgb2hex_hex2rgb_demo_01.png 4072
rgb2hex_hex2rgb_demo_02.png 4192
rgb2hex_hex2rgb_demo.m 3011