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.

Re: How to convert hex code to images using ASP.Net, C# . 80 80

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.