I am developing a website in which i am showing the hexa code into bgcolor of td of table. The problem is that when someone like that page or print the page then that color is not showing because the color is bgcolor color of td. So, i want to convert hexa code into images. My Hexacodes(2000) are saved in database. How i will convert these hex codes into images in ASP.Net, C#. Please guide me.

Are you wanting to convert a hex color into an image of the same color, a block of that color only?
You can use the system.drawing to create an image, brush it with that color (basically filling it with one color and then save it as a file.
The images can then be used as the display in a webpage.