Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[PHP] Darken and lighten color?

0 views
Skip to first unread message

Leif K-Brooks

unread,
Oct 19, 2003, 1:18:50 AM10/19/03
to shif...@php.net, Php-General (E-mail)
Chris Shiflett wrote:

>--- Leif K-Brooks <eur...@buyer-brokerage.com> wrote:
>
>
>>I'm looking for a nice alithogram to darken and lighten a color by a
>>certain ammount.
>>
>>
>
>Maybe you mean algorithm? :-)
>
>
Yep. My ability to spell decreases 5% every 15 minutes after 12AM.

>To lighten, increase RGB values by 10% each. To darken, decrease RGB values by
>10% each. Maybe replace 10 with whatever the "certain amount" is.
>
>
But what do I do with something like 40,40,255? What happens to the 255?

>Is that all you're wanting to do?
>
>
Yup.


--
The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.

Leif K-Brooks

unread,
Oct 19, 2003, 1:42:56 AM10/19/03
to Becoming Digital, Php-General (E-mail)
Becoming Digital wrote:

>You just have to leave it at 255. That's what Illustrator does.
>
>
Hmm, seems to work, thanks. Note to self: try before you ask.

Becoming Digital

unread,
Oct 19, 2003, 1:39:51 AM10/19/03
to Php-General (E-mail)
> But what do I do with something like 40,40,255? What happens to the 255?

You just have to leave it at 255. That's what Illustrator does.

Edward Dudlik
"Those who say it cannot be done
should not interrupt the person doing it."

wishy washy | www.amazon.com/o/registry/EGDXEBBWTYUU


Chris Shiflett wrote:

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Becoming Digital

unread,
Oct 19, 2003, 3:09:51 PM10/19/03
to Php-General (E-mail)
Leif K-Brooks wrote:
> Note to self: try before you ask.

I say that to myself about 100 times each day. ;)

Edward Dudlik
"Those who say it cannot be done
should not interrupt the person doing it."

wishy washy | www.amazon.com/o/registry/EGDXEBBWTYUU

----- Original Message -----
From: "Leif K-Brooks" <eur...@buyer-brokerage.com>
To: "Becoming Digital" <su...@becomingdigital.com>
Cc: "Php-General (E-mail)" <php-g...@lists.php.net>
Sent: Sunday, 19 October, 2003 01:42
Subject: Re: [PHP] Darken and lighten color?

0 new messages