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

can percentage be used on color black?

Hello,

I know how to use color codes or rgb(%,%,%). Just wondering how to
implement 90% black?

Thanks in advance for any ideas,

Bing

Aug 2 '06 #1
3 3977
Els
du****@gmail.com wrote:
Hello,

I know how to use color codes or rgb(%,%,%). Just wondering how to
implement 90% black?
100%(white)-90%=10%
10% of 255(white) = 25,5

rgb(25,25,25)

--
Els http://locusmeus.com/
accessible web design: http://locusoptimus.com/

Now playing: Yes - Machine Messiah
Aug 2 '06 #2
Els wrote:
du****@gmail.com wrote:
>I know how to use color codes or rgb(%,%,%). Just wondering how to
implement 90% black?

100%(white)-90%=10%
10% of 255(white) = 25,5

rgb(25,25,25)
...or could also pick a color code from here:
http://www.somacon.com/p142.php

--
-bts
-Warning: I brake for lawn deer
Aug 2 '06 #3
Els wrote:
du****@gmail.com wrote:
>Hello,

I know how to use color codes or rgb(%,%,%). Just wondering how to
implement 90% black?

100%(white)-90%=10%
10% of 255(white) = 25,5

rgb(25,25,25)
Or rgb(10%, 10%, 10%).

Seems easier to me just to choose between #111 and #222.
Aug 2 '06 #4

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

Similar topics

2
by: SK | last post by:
How to achieve this*? Percentage number is always in the middle of the table. If needed, the number is overlayed over the cell border (for example, in case of "55%"). Thanks, ...
2
by: Oliver Burnett-Hall | last post by:
I'm trying to move to using tableless page layouts, but I've come across what appears to be a bug in IE5's rendering that I can't find a way to overcome. The page has a sidebar to the left of...
8
by: Vic | last post by:
I've managed to achieve the effect I wanted in IE6 - although I had to use an experession to set the vertical height of a div (I want it to have an overflow and scroll) but I can't work out a way...
3
by: Les Juby | last post by:
I am trying to adjust the window/table size of a website (www.worklaw.co.za) which has made use of DIV tags with its settings embedded in an CSS file. The client wants its width and height to...
22
by: Les Juby | last post by:
I am trying to adjust the window/table size of a website (www.worklaw.co.za) which has made use of DIV tags with its settings embedded in an CSS file. The client wants its width and height to...
0
by: fake ID | last post by:
Since you can't search for these symbols used in asp.net "<%#" or '<%=' I thought i'd post this to make things a little easier to find. Potential search word combinations: -lessthan Percentage...
2
by: jackgeek | last post by:
I am trying to create a film strip of thumbnails in a photo gallery type page. I have an idea to create a div with all the thumbnails in it and then use another div to contain that so it can be...
4
by: Peter | last post by:
Hi is there a "percentage type" in c#, or how do I specify that a parameter to my method may only take integer values from 0 to 100? For example: public bool Reject(Guid guid, Percent...
1
by: zufie | last post by:
I have used Sum(Abs()) to convert my neg. (-) values to pos. (+) values how can I obtain the correct percentage. For example, here is my expression from my query trying to calculate the correct...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.