Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread Gray
Mon, Feb 24 2014 4:48 AMPermanent Link

Matthew Jones

Is it me, or shouldn't "clDarkGray" be "blacker" than "clGray"? Certainly the
sequence including "clLightGray" doesn't fit.

/Matthew Jones/
Mon, Feb 24 2014 5:41 AMPermanent Link

Uli Becker

Matthew,

clGray and clDarkGray just seem to be inverted in the constant
declaration of WebCtrls.

Uli
Mon, Feb 24 2014 7:18 AMPermanent Link

Matthew Jones

Hmm. Indeed, the definitions are:

  clWhite = $FFFFFF;
  clLightGray = $D3D3D3;
  clGray = $808080;
  clDarkGray = $A9A9A9;
  clBlack = $000000;

  clSlateGray = $908070;
  clDimGray = $696969;
  clDarkSlategray = $4F4F2F;
  
The fact that there are a variety of grays (or greys as we would properly say here
in England <grin> ) might imply that the logic is not what it might first appear. I
wonder if these colors are web standard, or what. It still seems illogical to me to
have a dark gray darker than gray.
  
/Matthew Jones/
Mon, Feb 24 2014 4:32 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< Is it me, or shouldn't "clDarkGray" be "blacker" than "clGray"? Certainly
the sequence including "clLightGray" doesn't fit. >>

I'll check it out.  As Uli says, they're probably just inverted.

Tim Young
Elevate Software
www.elevatesoft.com
Wed, Apr 2 2014 6:24 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< Is it me, or shouldn't "clDarkGray" be "blacker" than "clGray"? Certainly
the sequence including "clLightGray" doesn't fit. >>

I looked into this, and EWB is correct.  Check out the colors here:

http://www.w3schools.com/html/html_colornames.asp

Tim Young
Elevate Software
www.elevatesoft.com
Image