1. Win32Lib Colors
- Posted by Giangranco <g.malagnini at tin.it> Feb 06, 2005
- 499 views
>From Win32LibGenInfo.html: WIN32LIB NAMED COLORS: Black = rgb( 0, 0, 0 ), Blue = rgb( 0, 0, 127 ), Green = rgb( 0, 127, 0 ), Cyan = rgb( 0, 127, 127 ), Red = rgb( 127, 0, 0 ), Magenta = rgb( 127, 0, 127 ), Brown = rgb( 127, 127, 0 ), White = rgb( 127, 127, 127 ), Gray = rgb( 127, 127, 127 ), BrightBlue = rgb( 0, 0, 255 ), BrightGreen = rgb( 0, 255, 0 ), BrightCyan = rgb( 0, 255, 255 ), BrightRed = rgb( 255, 0, 0 ), BrightMagenta = rgb( 255, 0, 255 ), Yellow = rgb( 255, 255, 0 ), BrightWhite = rgb( 255, 255, 255 ) Question: The value (127, 127, 127) is correctly defined in the list as Gray (From Win32LibGenInfo.html: WIN32LIB NAMED COLORS: Black = rgb( 0, 0, 0 ), Blue = rgb( 0, 0, 127 ), Green = rgb( 0, 127, 0 ), Cyan = rgb( 0, 127, 127 ), Red = rgb( 127, 0, 0 ), Magenta = rgb( 127, 0, 127 ), Brown = rgb( 127, 127, 0 ), White = rgb( 127, 127, 127 ), Gray = rgb( 127, 127, 127 ), BrightBlue = rgb( 0, 0, 255 ), BrightGreen = rgb( 0, 255, 0 ), BrightCyan = rgb( 0, 255, 255 ), BrightRed = rgb( 255, 0, 0 ), BrightMagenta = rgb( 255, 0, 255 ), Yellow = rgb( 255, 255, 0 ), BrightWhite = rgb( 255, 255, 255 ) Question: The value (127, 127, 127) is correctly defined in the list as Gray (also). You know that it possible to obtain the complete scale of gray colors assuring the same numerical value to the three RGB parameters (from 0 to 255) The darkest Gray is obviously known as Black (0, 0, 0) and the lighter as White (255, 255, 255) The medium Gray value (127, 127, 127) is "Gray", only. Why two misleeding definitions, Gray and White, for (127, 127, 127)? Why the definition Brigth White for (255, 255, 255), instead of White? If so, why not Dark Black for (0, 0, 0) and Black for (127,127,127)? The medium (127, 127, 127) combination could so obtain three definitions: Black, Gray and White, making everibody happy!. Gianfranco
2. Re: Win32Lib Colors
- Posted by Derek Parnell <ddparnell at bigpond.com> Feb 06, 2005
- 453 views
Giangranco wrote: > > > >From Win32LibGenInfo.html: > > WIN32LIB NAMED COLORS: > > Black = rgb( 0, 0, 0 ), > Blue = rgb( 0, 0, 127 ), > Green = rgb( 0, 127, 0 ), > Cyan = rgb( 0, 127, 127 ), > Red = rgb( 127, 0, 0 ), > Magenta = rgb( 127, 0, 127 ), > Brown = rgb( 127, 127, 0 ), > White = rgb( 127, 127, 127 ), > Gray = rgb( 127, 127, 127 ), > BrightBlue = rgb( 0, 0, 255 ), > BrightGreen = rgb( 0, 255, 0 ), > BrightCyan = rgb( 0, 255, 255 ), > BrightRed = rgb( 255, 0, 0 ), > BrightMagenta = rgb( 255, 0, 255 ), > Yellow = rgb( 255, 255, 0 ), > BrightWhite = rgb( 255, 255, 255 ) > [snip] > The darkest Gray is obviously known as Black (0, 0, 0) and the lighter > as White (255, 255, 255) > The medium Gray value (127, 127, 127) is "Gray", only. > > Why two misleeding definitions, Gray and White, for (127, 127, 127)? > Why the definition Brigth White for (255, 255, 255), instead of White? Because Microsoft calls (127, 127, 127) 'White'. To me it looks gray so I added the alias 'Gray' to be the same as Microsoft's white. The color (255,255,255) is called Bright White by Microsoft. > If so, why not Dark Black for (0, 0, 0) and Black for (127,127,127)? > The medium (127, 127, 127) combination could so obtain three > definitions: Black, Gray and White, making everibody happy!. Because that would be too stupid even for me. -- Derek Parnell Melbourne, Australia irc://irc.sorcery.net:9000/euphoria
3. Re: Win32Lib Colors
- Posted by don cole <doncole at pacbell.net> Feb 06, 2005
- 462 views
- Last edited Feb 07, 2005
Giangranco wrote: > > The value (127, 127, 127) is correctly defined in the list as Gray (also). > > You know that it possible to obtain the complete scale of gray colors > assuring the same numerical value to the three RGB parameters (from 0 to 255) > > The darkest Gray is obviously known as Black (0, 0, 0) and the lighter > as White (255, 255, 255) > The medium Gray value (127, 127, 127) is "Gray", only. > > Why two misleeding definitions, Gray and White, for (127, 127, 127)? > Why the definition Brigth White for (255, 255, 255), instead of White? > > If so, why not Dark Black for (0, 0, 0) and Black for (127,127,127)? > The medium (127, 127, 127) combination could so obtain three > definitions: Black, Gray and White, making everibody happy!. > > Gianfranco > Ansel Adams the great Black and White photographer said "there are eight distinct shades of grey". Here they are: 1.) rgb(0,0,0) 2.) rgb(66,66,66) 3.) rgb(83,83,83) 4.) rgb(127,127,127) 5.) rgb(169,169,169) 6.) rgb(200,200,200) 7.) rgb(221,221,221) 8.) rgb(255,255,255) don cole SF
4. Re: Win32Lib Colors
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Feb 06, 2005
- 455 views
- Last edited Feb 07, 2005
On Sat, 05 Feb 2005 20:31:07 -0800, Derek Parnell <guest at RapidEuphoria.com> wrote: >Because Microsoft calls (127, 127, 127) 'White'. To me it looks gray so I >added the alias 'Gray' to be the same as Microsoft's white. FYI, The copy of win32lib I have (0.60.4) defines: White as {224,224,224}, LightGray as {192,192,192}, Gray as {128,128,128}, and DarkGray as {64,64,64}). Pete
5. Re: Win32Lib Colors
- Posted by Derek Parnell <ddparnell at bigpond.com> Feb 06, 2005
- 450 views
- Last edited Feb 07, 2005
Pete Lomax wrote: > > On Sat, 05 Feb 2005 20:31:07 -0800, Derek Parnell > <guest at RapidEuphoria.com> wrote: > > >Because Microsoft calls (127, 127, 127) 'White'. To me it looks gray so I > >added the alias 'Gray' to be the same as Microsoft's white. > FYI, The copy of win32lib I have (0.60.4) defines: > White as {224,224,224}, > LightGray as {192,192,192}, > Gray as {128,128,128}, and > DarkGray as {64,64,64}). Oh that's right. I had an attempt at rationalizing the names to the actual color displayed. So I made a White look like a duller version of Bright White and made it distinct from Gray. I was thinking of adopting the stand HTML color names/definitions too. -- Derek Parnell Melbourne, Australia irc://irc.sorcery.net:9000/euphoria
6. Re: Win32Lib Colors
- Posted by don cole <doncole at pacbell.net> Feb 07, 2005
- 514 views
Pete Lomax wrote: > > On Sat, 05 Feb 2005 20:31:07 -0800, Derek Parnell > <guest at RapidEuphoria.com> wrote: > > >Because Microsoft calls (127, 127, 127) 'White'. To me it looks gray so I > >added the alias 'Gray' to be the same as Microsoft's white. > FYI, The copy of win32lib I have (0.60.4) defines: > White as {224,224,224}, > LightGray as {192,192,192}, > Gray as {128,128,128}, and > DarkGray as {64,64,64}). > > Pete > For the next version of win32lib I submit White rgb(255,255,255) ALighterShadeOfPale rgb(221,221,221) Pale rgb(200,200,200) LightGrey rgb(169,169,169) Grey rgb(128,128,128) DarkGrey rgb(83,83,83) VeryDarkGrey rgb(66,66,66) Black rgb(0,0,0) Don COLE SF
7. Re: Win32Lib Colors
- Posted by Giangranco <g.malagnini at tin.it> Feb 08, 2005
- 462 views
Don Col Wrote: >Ansel Adams the great Black and White photographer said "there are eight >distinct shades of grey". >Here they are: >1.) rgb(0,0,0) >2.) rgb(66,66,66) >3.) rgb(83,83,83) >4.) rgb(127,127,127) >5.) rgb(169,169,169) >6.) rgb(200,200,200) >7.) rgb(221,221,221) >8.) rgb(255,255,255) I'm sure he was right! Wrong is what Microsoft states: "There are two shades of white: >1.) rgb(127,127,127) >2.) rgb(255,255,255)" Regards Gianfranco
8. Re: Win32Lib Colors
- Posted by Greg Haberek <ghaberek at gmail.com> Feb 08, 2005
- 470 views
> ALighterShadeOfPale rgb(221,221,221) Is that a Procol Harum reference? My dad got me hooked on them. I swear, I'm so much older than my age (21). ~Greg
9. Re: Win32Lib Colors
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Feb 08, 2005
- 470 views
>> ALighterShadeOfPale rgb(221,221,221) LeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyGrubbyWhite {238,238,238}
10. Re: Win32Lib Colors
- Posted by CoJaBo <CoJaBo_EUforum_Address at CJBN.net> Feb 08, 2005
- 460 views
- Last edited Feb 09, 2005
Pete Lomax wrote: > > >> ALighterShadeOfPale rgb(221,221,221) > LeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyGrubbyWhite > {238,238,238} ALighterShadeOfLeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyGrubbyWhite {248,248,248} CoJaBo "If two trains leave Boston heading in opposite directions, one going 80MPH the other going 90MPH, how long will it be until ANYONE CARES!!!" -- Me [1010] << Supposed to be a computer QWERTY Laptop Athlon 64 3700+ 2.4Ghz, 2GB RAM, 100GB HDD, NVIDIA GeForce4 440 Go 64M Video card, 1920x1200 Resolution LCD
11. Re: Win32Lib Colors
- Posted by Patrick Barnes <mrtrick at gmail.com> Feb 08, 2005
- 485 views
- Last edited Feb 09, 2005
On Tue, 08 Feb 2005 14:32:48 -0800, CoJaBo <guest at rapideuphoria.com> wrote: >>ALighterShadeOfLeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyGrubbyWhite > {248,248,248} SlightlyDarkerThanTheLighterShadeOfLeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyGrubbyWhite {244,244,244} -- MrTrick
12. Re: Win32Lib Colors
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Feb 08, 2005
- 465 views
- Last edited Feb 09, 2005
On Wed, 9 Feb 2005 10:21:03 +1100, Patrick Barnes <mrtrick at gmail.com> wrote: > >On Tue, 08 Feb 2005 14:32:48 -0800, CoJaBo <guest at rapideuphoria.com> wrote: >>>>ALighterShadeOfLeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyGrubbyWhite >> {248,248,248} > >>SlightlyDarkerThanTheLighterShadeOfLeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyGrubbyWhite >{244,244,244} MidwayBetweenTheSlightlyDarkerThanTheLighterShadeOfLeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyGrubbyWhiteAndALighterShadeOfLeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyGrubbyWhite {246,246,246}, and TheColourCompletelyIndistinguishableFromEitherMidwayBetweenTheSlightlyDarkerThanTheLighterShadeOfLeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyGrubbyWhiteAndALighterShadeOfLeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyGrubbyWhiteAndSlightlyDarkerThanTheLighterShadeOfLeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyGrubbyWhite {245,245,245} C:\Euphoria\test\test.exw:1 source line is too long TheColourCompletelyIndistinguishableFromEitherMidwayBetweenTheSlightlyDarkerThan TheLighterShadeOfLeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyG rubbyWhiteAndALighterShadeOfLeadingNo ^ Press Enter...
13. Re: Win32Lib Colors
- Posted by Blackfire <blackfire at cjbn.net> Feb 09, 2005
- 437 views
i DDoSed u! CoJaBo wrote: > > Pete Lomax wrote: > > > > >> ALighterShadeOfPale rgb(221,221,221) > > LeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyGrubbyWhite > > {238,238,238} > > > ALighterShadeOfLeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyGrubbyWhite > {248,248,248} > > > CoJaBo > "If two trains leave Boston heading in opposite directions, one > going 80MPH the other going 90MPH, how long will it be until > ANYONE CARES!!!" -- Me > [1010] << Supposed to be a computer > QWERTY > Laptop > Athlon 64 3700+ 2.4Ghz, 2GB RAM, 100GB HDD, > NVIDIA GeForce4 440 Go 64M Video card, > 1920x1200 Resolution LCD > ~~Bl@ckf|r3~~ Suprised to see me?
14. Re: Win32Lib Colors
- Posted by Patrick Barnes <mrtrick at gmail.com> Feb 09, 2005
- 448 views
Rob, can we have support for longer source lines? Heh... just kidding. Why is there a source line limit, anyway? Would a buffer overflow or something? On Tue, 08 Feb 2005 23:42:27 +0000, Pete Lomax <petelomax at blueyonder.co.uk> wrote: TheColourCompletelyIndistinguishableFromEitherMidwayBetweenTheSlightlyDarkerThanTheLighterShadeOfLeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyGrubbyWhiteAndALighterShadeOfLeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyGrubbyWhiteAndSlightlyDarkerThanTheLighterShadeOfLeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyGrubbyWhite > {245,245,245} > > C:\Euphoria\test\test.exw:1 > source line is too long > > TheColourCompletelyIndistinguishableFromEitherMidwayBetweenTheSlightlyDarkerThan > > TheLighterShadeOfLeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyG > rubbyWhiteAndALighterShadeOfLeadingNo > > ^ > Press Enter... > MrTrick
15. Re: Win32Lib Colors
- Posted by CoJaBo <CoJaBo_EUforum_Address at CJBN.net> Feb 09, 2005
- 469 views
Pete Lomax wrote: > > On Wed, 9 Feb 2005 10:21:03 +1100, Patrick Barnes <mrtrick at gmail.com> > wrote: > > > > >On Tue, 08 Feb 2005 14:32:48 -0800, CoJaBo <guest at rapideuphoria.com> > >wrote: > > >>>>ALighterShadeOfLeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyGrubbyWhite > >> {248,248,248} > > > > >>SlightlyDarkerThanTheLighterShadeOfLeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyGrubbyWhite > >{244,244,244} > > MidwayBetweenTheSlightlyDarkerThanTheLighterShadeOfLeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyGrubbyWhiteAndALighterShadeOfLeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyGrubbyWhite > {246,246,246}, > and > > TheColourCompletelyIndistinguishableFromEitherMidwayBetweenTheSlightlyDarkerThanTheLighterShadeOfLeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyGrubbyWhiteAndALighterShadeOfLeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyGrubbyWhiteAndSlightlyDarkerThanTheLighterShadeOfLeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyGrubbyWhite > {245,245,245} > > C:\Euphoria\test\test.exw:1 > source line is too long > > TheColourCompletelyIndistinguishableFromEitherMidwayBetweenTheSlightlyDarkerThan > > TheLighterShadeOfLeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyG > rubbyWhiteAndALighterShadeOfLeadingNo > > > ^ > Press Enter... Woa... that would have the first time a variable name has exceded the line limit of Eu! > > CoJaBo "If two trains leave Boston heading in opposite directions, one going 80MPH the other going 90MPH, how long will it be until ANYONE CARES!!!" -- Me [1010] << Supposed to be a computer QWERTY Laptop Athlon 64 3700+ 2.4Ghz, 2GB RAM, 100GB HDD, NVIDIA GeForce4 440 Go 64M Video card, 1920x1200 Resolution LCD
16. Re: Win32Lib Colors
- Posted by CoJaBo <CoJaBo_EUforum_Address at CJBN.net> Feb 09, 2005
- 480 views
Blackfire wrote: You actually used your OWN account? > > i DDoSed u! Yea... I kinda noticed... Losing my internet connection for several hours is hard to miss. > > CoJaBo wrote: > > > > Pete Lomax wrote: > > > > > > >> ALighterShadeOfPale rgb(221,221,221) > > > LeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyGrubbyWhite > > > {238,238,238} > > > > > > ALighterShadeOfLeadingNonBiologicalCompetitorObviouslyCleanButSomehowSlightlyGrubbyWhite > > {248,248,248} > > > > > > CoJaBo > > "If two trains leave Boston heading in opposite directions, one > > going 80MPH the other going 90MPH, how long will it be until > > ANYONE CARES!!!" -- Me > > [1010] << Supposed to be a computer > > QWERTY > > Laptop > > Athlon 64 3700+ 2.4Ghz, 2GB RAM, 100GB HDD, > > NVIDIA GeForce4 440 Go 64M Video card, > > 1920x1200 Resolution LCD > > > > ~~Bl@ckf|r3~~ > Suprised to see me? Nope, wondered when you'd show again... > CoJaBo "If two trains leave Boston heading in opposite directions, one going 80MPH the other going 90MPH, how long will it be until ANYONE CARES!!!" -- Me [1010] << Supposed to be a computer QWERTY Laptop Athlon 64 3700+ 2.4Ghz, 2GB RAM, 100GB HDD, NVIDIA GeForce4 440 Go 64M Video card, 1920x1200 Resolution LCD
17. Re: Win32Lib Colors
- Posted by Robert Craig <rds at RapidEuphoria.com> Feb 09, 2005
- 458 views
Patrick Barnes wrote: > Rob, can we have support for longer source lines? > > Heh... just kidding. > Why is there a source line limit, anyway? Would a buffer overflow or > something? In 2.5, the front end is written in Euphoria, so there is no longer a source line limit. In 2.4 and earlier, the front end was written in C, so it was very convenient to have a limit of some kind (200 chars). Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com