473,385 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to convert colors to HTML

How do I convert "LightGray" to an HTML color? I have a color picker
that returns the name of the color and I need it's HTML equivilent
(like #050505)

Thanks!

Jul 21 '05 #1
3 1342

"Tom wilson" <ye*******@nospam.com> wrote in message
news:6f********************************@4ax.com...
How do I convert "LightGray" to an HTML color? I have a color picker
that returns the name of the color and I need it's HTML equivilent
(like #050505)

Thanks!

This link may be of use. There are 3 or 4 pages that deal with colors.

http://www.w3schools.com/html/html_colors.asp
Jul 21 '05 #2
ColorTranslator.ToHtml(SomeColor)

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"Tom wilson" <ye*******@nospam.com> wrote in message
news:6f********************************@4ax.com...
How do I convert "LightGray" to an HTML color? I have a color picker
that returns the name of the color and I need it's HTML equivilent
(like #050505)

Thanks!

Jul 21 '05 #3
Tom,

See this thread

http://groups-beta.google.com/group/...1365ccba811801

I hope this helps?

Cor
Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Dan Jacobson | last post by:
What's Nielsen talking about in http://www.useit.com/alertbox/20040503.html http://www.useit.com/alertbox/20040510.html Can't a good browser keep track of visited vs. unvisited link colors? Is my...
2
by: Phil Stanton | last post by:
When designing a new form or report, the Default ForeColor is often something like -2147483640 which is the colour of Windows text (possibly black) and the default backColor is -2147483643...
2
by: James dean | last post by:
Do i have to create an index pallette. How do i do that?. Or, Can i not just make an ordinary 8pp pixel format without this indexed problem...... *** Sent via Developersdex...
11
by: Paul Smith | last post by:
I have a button on my web page the backcolor of which I want to change: btnSample.backcolor = ???????? I want the color to be Gainsboro However I enter Gainsboro or color.Gainsboro I have...
3
by: Tom wilson | last post by:
How do I convert "LightGray" to an HTML color? I have a color picker that returns the name of the color and I need it's HTML equivilent (like #050505) Thanks!
1
by: Filippo Bettinaglio | last post by:
Using C# 2005 How can I load a 24bit colors .BMP image and convert it in a 8bit colors BMP, and save the new one on disk? Many Thanks, Filippo
5
by: Bob Homes | last post by:
In VB6, foreground and background colors of controls had to be assigned a single number. If you knew the RGB values for the color, you still had to convert them into the single number accepatable...
0
Akatz712
by: Akatz712 | last post by:
The following function converts a decimal number representing a color stored in the way that Microsoft windows stores colors (low byte is red), and converts it to a hex string which is needed for web...
5
by: JJ | last post by:
I have a function that returns an int that represents an rgb colour code (e.g. '5731173'). How can I convert this to a hex value of the form #D2D2D2 so that I can use it to color an object? ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.