473,788 Members | 3,053 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[Semi-OT] Possible RGB Hex Triplet anomaly?

Take a look at this page if you will:
http://www.sugapablo.net/temp/colortest.html

Does it look right to you? Should #0000ff and #000fff be the same shade
of blue? Especially since #ff0000 is red and #fff000 is drastically
different as yellow.

Maybe my monitor is busted or something?

Does anyone else find this strange? That the RGB levels would be
asymmetrical like that?

--
[=============== =============== =============== =============== =============== ==]
Sugapablo -> http://www.sugapablo.net
[=============== =============== =============== =============== =============== ==]

Nov 23 '05 #1
4 1562
Sugapablo <ru**@REMOVEsug apablo.com> writes:
Take a look at this page if you will:
http://www.sugapablo.net/temp/colortest.html

Does it look right to you? Should #0000ff and #000fff be the same shade
of blue? Especially since #ff0000 is red and #fff000 is drastically
different as yellow.
Careful - you want to compare #ff0000 and #ff0f00 here (or #0000ff and
#00f0ff)
Does anyone else find this strange? That the RGB levels would be
asymmetrical like that?


Even after you've made that change, do bear in mind that while the
human eye can distinguish a few million colours, RGB can display 16
million colours, so in many regions of the RGB space nearby colours do
look identical even on a good monitor.

(On the other hand, in some regions of the colour space, the eye has a
very good capacity for distinguishing colours, and could distinguish
colours in-between adjacent RGB values)

--
Chris
Nov 23 '05 #2
Sugapablo <ru**@REMOVEsug apablo.com> wrote:
Take a look at this page if you will:
http://www.sugapablo.net/temp/colortest.html

Does it look right to you? Should #0000ff and #000fff be the same shade
of blue? Especially since #ff0000 is red and #fff000 is drastically
different as yellow.


If you break the rrggbb color codes apart into rr, gg, and bb values, you
get:

0000ff 00 00 ff
000fff 00 0f ff

ff0000 ff 00 00
fff000 ff f0 00

The difference between the green value of the first two is 0f, which is
less than 10.

The difference between the green value of the second two is f0, which is 15
times 10.

Given that the second change in the green value is more than 15 times the
first change in the green value, it makes sense that it would be much more
obvious to the human eye.
--
Darin McGrew, mc****@stanford alumni.org, http://www.rahul.net/mcgrew/
Web Design Group, da***@htmlhelp. com, http://www.HTMLHelp.com/

"Experience is what allows you to recognize a mistake when you make it again."
Nov 23 '05 #3
On Mon, 21 Nov 2005 21:01:20 +0000, Darin McGrew wrote:
The difference between the green value of the first two is 0f, which is
less than 10.

The difference between the green value of the second two is f0, which is 15
times 10.


Ah! Ok, that makes me feel better. That was drivin' me nuts! Thanks. :)
--
[=============== =============== =============== =============== =============== ==]
Sugapablo -> http://www.sugapablo.net
[=============== =============== =============== =============== =============== ==]

Nov 23 '05 #4
I wrote:
The difference between the green value of the first two is 0f, which is
less than 10.

The difference between the green value of the second two is f0, which is 15
times 10.

Sugapablo <ru**@REMOVEsug apablo.com> wrote: Ah! Ok, that makes me feel better. That was drivin' me nuts! Thanks. :)


Rereading what I wrote, it might have been more direct to point out that
the change of f0 is exactly 16 times the change of 0f.
--
Darin McGrew, mc****@stanford alumni.org, http://www.rahul.net/mcgrew/
Web Design Group, da***@htmlhelp. com, http://www.HTMLHelp.com/

"Experience is what allows you to recognize a mistake when you make it again."
Nov 23 '05 #5

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

Similar topics

2
3780
by: Dennis M. Marks | last post by:
I am never sure of when a semi-colon is required in javascript. Is there a definite rule? -- Dennis M. Marks -----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World! -----== Over 100,000 Newsgroups - 19 Different Servers! =-----
7
20956
by: jhomp ssens | last post by:
I would like to create a pulldown menu which is semi-transparent....that is, you can see the text and graphics behind it when it is pulled down. The effect I'm looking for can be seen at http://www.countrywide.com. Are there any good tutorials which can show me how to do this with CSS?
16
2844
by: Kiuhnm | last post by:
Is there an elegant way to deal with semi-circular definitions? Semi-circular definition: A { B }; B { *A }; Circular reference: A { *B }; B { *A }; The problems arise when there are more semi-circular definitions and
2
3701
by: David Scemama | last post by:
Hi, I'm looking for a way to display semi graphic characters in a multi line text control or in a rich text control. I've tried with all the characters of the extended ASCII table (code page 437), they appear correctly except the semi graphic ones. Please help ... Thanks a lot
27
3182
by: StevePBurgess | last post by:
With a string of authors such as: Carson, David, Milne, Rebecca, Pakes, Francis J., Shalev, Karen, Shawyer, Andrea I would like to write a function to change every other comma into a semi colon (thereby defining where one name ends and the next begins). I could do it by writing a complex (and slow) procedure - but is there a quick way of doing it using regular expressions, for example?
2
2719
by: Trond Michelsen | last post by:
Hi. I have a transparent PNG-image that I would like to display on top of the rest of the web page. I've already got this part working. But, I'd like the background (as in "the part of the image that is transparent"), to be semi transparent instead. So, I've wrapped the image in a div-tag with the style "opacity: .70" instead. This gives me pretty much the semi transparency that I'm looking for, except that this makes the entire image...
2
2319
by: James Stroud | last post by:
Hello All, I am trying to create a semi-standalone with the vendor python on OS X 10.4 (python 2.3.5). I tried to include some packages with both --packages from the command and the 'packages' option in setup.py. While the packages were nicely included in the application bundle in both cases (at Contents/Resources/lib/python2.3/), they were not found by python when the program was launched, giving the error: "ImportError: No module...
0
1925
by: James Arnold | last post by:
I am trying to use a semi transparent PNG as the form background, allowing you to see through certain parts. The intention is similar to a skinnable form like launchy, with semi-transparent pixels (not just .MakeTransparent or Form.Opacity). Also similar to the Adobe splash screens which the feather and drop shadow. By overriding the OnPaint method and manually drawing a PNG onto the form background I can achieve this effect, but it does...
9
4124
by: JamesF1982 | last post by:
Hey everyone, My question is related to HTML, Javascript, CSS and ASP.NET but i think it belongs here! Upon an event i am trying to add a semi-transparent colour across the page so the background is obscurred but i also set a div with a known ID to exist above this. My current method has been to on the fly create a div which gets the screen height/width with javascript and then sets the image. However, my div is created but does not...
26
3054
by: machineghost | last post by:
First off, let me just say that as someone with no DBA training whatsoever, any help I can get with this issue will be very, very much appreciated. My company recently migrated our database from DB2 v7 to DB2 v9. We hired a consultant to help us, and things went pretty smoothly ... up until a few weeks after, when a co-worker tried to insert JavaScript in to our database. That's when we learned that v9, unlike v7, has a problem with...
0
9655
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9498
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8993
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7517
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5398
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5535
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4069
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.