RE: Changing Colours

2006-11-29 Thread Rick Schummer
Chris, Could anyone suggest a way of working out a brigter version of a colour. Just in case you have not seen this, Cesar has a function/form to lighten/darken colors: http://weblogs.foxite.com/cesarchalom/archive/2006/11/27/2974.aspx Rick White Light Computing, Inc.

RE: Changing Colours

2006-11-23 Thread Sietse Wijnker
RETURN RGB(lnRed, lnGreen, lnBlue) ENDFUNC Sietse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Davis Sent: woensdag 22 november 2006 17:51 To: [EMAIL PROTECTED] Subject: RE: Changing Colours This does not work, for example if I set screen

RE: Changing Colours

2006-11-23 Thread Chris Davis
I will give it a go and let you know how I get on. Cheers Chris. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sietse Wijnker Sent: 23 November 2006 10:12 To: [EMAIL PROTECTED] Subject: RE: Changing Colours You interpreted my suggestion correct

Changing Colours

2006-11-22 Thread Chris Davis
Hi All, Could anyone suggest a way of working out a brigter version of a colour. I use RGB(x,x,x) to set a colour to say Blue,Pink,Red or whatever and would like to be able to work out from whatever colour it is a brighter version. So I'm after bright blue,bright pink,bright red in order to

RE: Changing Colours

2006-11-22 Thread Sietse Wijnker
: Changing Colours Hi All, Could anyone suggest a way of working out a brigter version of a colour. I use RGB(x,x,x) to set a colour to say Blue,Pink,Red or whatever and would like to be able to work out from whatever colour it is a brighter version. So I'm after bright blue,bright pink

RE: Changing Colours

2006-11-22 Thread Chris Davis
) Any more ideas, or have I interpreted your suggestion wrong ? Cheers Chris. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sietse Wijnker Sent: 22 November 2006 16:15 To: [EMAIL PROTECTED] Subject: RE: Changing Colours Just add a RGB() value to the color

Re: Changing Colours

2006-11-22 Thread Joe De Ville
Chris, In my experience, if you're trying to dynamically brighten a color, but stay in the same color value, the simplest way is to add multiples of 65793 (this is 256^2 + 256^1 + 256^0, or 256*256 + 256 + 001). On my wimpy-graphics machine, the difference isn't noticeable until I add (or

Re: Changing Colours

2006-11-22 Thread Matthew Jarvis
Chris Davis wrote: This does not work, for example if I set screen back colour to a nice orange. _screen.BackColor= RGB(255,128,0) And then do as you suggest and add a value to it, it does not change it to a more vivid,brighter orange as I wish it turns green!

RE: Changing Colours

2006-11-22 Thread Andy Davies
This does not work OHHH! yes it does: _screen.BackColor=RGB(144,176,144) _screen.BackColor = _screen.BackColor + RGB(20,20,20) _screen.BackColor=RGB(255,255,255) Andrew Davies  MBCS CITP   - AndyD    8-)# ** This email