CONVERT RGB TO HEX
This program takes in values of red, green and blue ranging from 0 to 255 and then converts those values to corresponding hexadecimal string. There are altogether 256 × 256 × 256 = 16,777,216 possible colour combinations.
For those colours which you wish to be beautiful, always first prepare a pure white ground.
- Leonardo da Vinci