473,383 Members | 1,837 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,383 software developers and data experts.

how to get color value of character

254 100+
Hi

I want to find the color vaule of text which is of different color when user will move mouse on the text/charector.It should display its color value in RGB format.
like

Expand|Select|Wrap|Line Numbers
  1. <p>Hello Muksh Kumar. Welcome to thescripts.com!
  2.  
Apr 7 '08 #1
7 1554
Death Slaught
1,137 1GB
This is not HTML/CSS related. Please ask in our JavaScript section.

Thanks, Death
Apr 7 '08 #2
drhowarddrfine
7,435 Expert 4TB
Not sure whether he actually means "set" the color or "get" the color. Setting it can be done with CSS but not getting.
Apr 7 '08 #3
Death Slaught
1,137 1GB
You may be right, but I thought he wanted it so that when the user moves the mouse onto the text (hover), a small pop-up appears displaying the RBG value of that text.

Thanks, Death
Apr 7 '08 #4
mukeshrasm
254 100+
You may be right, but I thought he wanted it so that when the user moves the mouse onto the text (hover), a small pop-up appears displaying the RBG value of that text.

Thanks, Death
Hi

I wanted like that as you told so how it can be possible. Though I have posted it in Javascript Forum.
Apr 8 '08 #5
Death Slaught
1,137 1GB
Your best bet is to use JavaScript. Give it some time and someone will answer your question.

Thanks, Death
Apr 8 '08 #6
gits
5,390 Expert Mod 4TB
here again the link to the javascript thread with an starting idea for the solution ...

kind regards
Apr 8 '08 #7
Death Slaught
1,137 1GB
lol, and once again gits comes along with an answer ^_^
Apr 8 '08 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Christian Roth | last post by:
Hello, when using this "identity" processing sheet: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" encoding="iso-8859-1" /> ...
5
by: lkrubner | last post by:
I know I'm missing something obvious, but I looked hard at this page and did not see the format of the return specified: http://us3.php.net/manual/en/function.ord.php >From the limited example...
2
by: vihang | last post by:
I have a code which is implementing a stack using array.. the code is $ nl pb4.c 1 #include <stdio.h> 2 char stack; 3 void push(char i,int top) 4 { 5 stack=i; 6 }
15
by: Craig Wagner | last post by:
I have a situation where I have a series of character codes stored in the database. In some cases they are the ASCII value of the character, in other cases they are the > 127 character code value...
2
by: farah727rash | last post by:
Hi all, I am trying to find the numerical value of a string that stores a two digit number. I have found the numerical value of a char as: char character; cin >> character; int number =...
8
by: farah727rash | last post by:
Hi all, I am trying to find the numerical value of a string that stores a two digit number. I have found the numerical value of a char as: char character; cin >character; int number =...
3
by: dmbuso | last post by:
I have a money field defined in a SQL Server 05 database with a value of 49.50. Also, it displays in SQL Server as 49.5000. I have a form in VB.NET 2005 and I'm using the new MaskedTextBox control...
8
by: Polaris431 | last post by:
I have a buffer that holds characters. Four characters in a row represent an unsigned 32 bit value. I want to convert these characters to a 32 bit value. For example: char buffer; buffer =...
5
by: Just D | last post by:
All, Any valuable idea about subj: "The '%' character, hexadecimal value 0x25" ? I tried to google, but nothing interesting was found. Is it IIS settings problem, user side problem or...
35
by: Martin Wells | last post by:
Plain char may be signed or unsigned. Typical ranges could be: CHAR_MIN == -128, CHAR_MAX == 127 CHAR_MIN == 0, CHAR_MAX == 255 The Standard says that the behaviour is undefined if we...
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.